AHiT: Fix Client Argument Handling (#4992)

This commit is contained in:
Duck
2025-05-14 05:18:36 -06:00
committed by GitHub
parent 0994afa25b
commit b71c8005e7
3 changed files with 6 additions and 5 deletions

View File

@@ -16,9 +16,9 @@ from worlds.LauncherComponents import Component, components, icon_paths, launch
from Utils import local_path
def launch_client():
def launch_client(*args: str):
from .Client import launch
launch_component(launch, name="AHITClient")
launch_component(launch, name="AHITClient", args=args)
components.append(Component("A Hat in Time Client", "AHITClient", func=launch_client,