1
0
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:
guoh064
2026-04-23 14:55:25 +08:00
parent c75dd9366b
commit 89f69079f1
5 changed files with 16 additions and 9 deletions

View File

@@ -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", []):