diff --git a/Tales_Exe.py b/Tales_Exe.py index 33c7f31..87ff126 100644 --- a/Tales_Exe.py +++ b/Tales_Exe.py @@ -258,7 +258,7 @@ def getTalesInstance(args, game_name): if args.action == "insert": insert_mask = [args.with_proofreading, args.with_editing, args.with_problematic] else: - insert_mask = [""] + insert_mask = [] talesInstance = ToolsTOR.ToolsTOR(args.project.resolve(), insert_mask) elif game_name == "NDX": talesInstance = ToolsNDX.ToolsNDX("TBL_All.json") diff --git a/pythonlib/games/ToolsTOR.py b/pythonlib/games/ToolsTOR.py index 3980635..cf92439 100644 --- a/pythonlib/games/ToolsTOR.py +++ b/pythonlib/games/ToolsTOR.py @@ -72,7 +72,7 @@ class ToolsTOR(ToolsTales): self.story_byte_code = b"\xF8" self.string_opcode = InstructionType.STRING self.list_status_insertion: list[str] = ['Done'] - self.list_status_insertion.append(*insert_mask) + self.list_status_insertion.extend(insert_mask) # Extract the story files