diff --git a/worlds/factorio/Client.py b/worlds/factorio/Client.py index 050455bb076a..f612605b4c19 100644 --- a/worlds/factorio/Client.py +++ b/worlds/factorio/Client.py @@ -21,7 +21,7 @@ from CommonClient import ClientCommandProcessor, CommonContext, logger, server_loop, gui_enabled, get_base_parser from MultiServer import mark_raw from NetUtils import ClientStatus, NetworkItem, JSONtoTextParser, JSONMessagePart -from Utils import async_start +from Utils import async_start, get_file_safe_name def check_stdin() -> None: @@ -120,7 +120,7 @@ def on_print_json(self, args: dict): @property def savegame_name(self) -> str: - return f"AP_{self.seed_name}_{self.auth}_Save.zip" + return get_file_safe_name(f"AP_{self.seed_name}_{self.auth}")+"_Save.zip" def print_to_game(self, text): self.rcon_client.send_command(f"/ap-print [font=default-large-bold]Archipelago:[/font] "