about summary refs log tree commit diff stats
path: root/apworld
diff options
context:
space:
mode:
Diffstat (limited to 'apworld')
-rw-r--r--apworld/context.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/apworld/context.py b/apworld/context.py index 41e833e..0a058e5 100644 --- a/apworld/context.py +++ b/apworld/context.py
@@ -274,6 +274,12 @@ async def process_game_cmd(ctx: Lingo2GameContext, args: dict):
274async def run_game(): 274async def run_game():
275 exe_file = settings.get_settings().lingo2_options.exe_file 275 exe_file = settings.get_settings().lingo2_options.exe_file
276 276
277 # This ensures we can use Steam features without having to open the game
278 # through steam.
279 steam_appid_path = os.path.join(os.path.dirname(exe_file), "steam_appid.txt")
280 with open(steam_appid_path, "w") as said_handle:
281 said_handle.write("2523310")
282
277 if Lingo2World.zip_path is not None: 283 if Lingo2World.zip_path is not None:
278 # This is a packaged apworld. 284 # This is a packaged apworld.
279 init_scene = pkgutil.get_data(__name__, "client/run_from_apworld.tscn") 285 init_scene = pkgutil.get_data(__name__, "client/run_from_apworld.tscn")