mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-24 17:59:59 +08:00
Add: distangle Gemsfarming.Campaign.Event from Event.Campaign.Event for multi event
This commit is contained in:
@@ -349,6 +349,14 @@ class AlasGUI(Frame):
|
||||
if output_kwargs["widget_type"] == "select" and isinstance(server_options, list) and server_options:
|
||||
options = server_options
|
||||
output_kwargs["options"] = options
|
||||
if (
|
||||
task == "GemsFarming"
|
||||
and group_name == "Campaign"
|
||||
and arg_name == "Event"
|
||||
and output_kwargs["widget_type"] == "select"
|
||||
and len(options) == 1
|
||||
):
|
||||
continue
|
||||
if output_kwargs["widget_type"] == "select" and len(options) == 1:
|
||||
only_option = options[0]
|
||||
if only_option in output_kwargs.get("option_bold", []):
|
||||
|
||||
Reference in New Issue
Block a user