From 5ca84f083d7376d87527d4485bfbe216db0e9f79 Mon Sep 17 00:00:00 2001 From: dazedanon Date: Sun, 16 Nov 2025 12:47:27 -0600 Subject: [PATCH] Small mapinfos fix --- modules/rpgmakerace.py | 2 +- modules/rpgmakermvmz.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rpgmakerace.py b/modules/rpgmakerace.py index 99e9ceb..924678c 100644 --- a/modules/rpgmakerace.py +++ b/modules/rpgmakerace.py @@ -172,7 +172,7 @@ def openFiles(filename): with open("files/" + filename, "r", encoding="UTF-8") as f: data = yaml.load(f) # Map Files - if "Map" in filename and filename != "MapInfos.json": + if "Map" in filename and "MapInfos" not in filename: translatedData = parseMap(data, filename) # CommonEvents Files diff --git a/modules/rpgmakermvmz.py b/modules/rpgmakermvmz.py index 445c096..9e9d2d6 100644 --- a/modules/rpgmakermvmz.py +++ b/modules/rpgmakermvmz.py @@ -156,7 +156,7 @@ def openFiles(filename): data = json.load(f) # Map Files - if "Map" in filename and filename != "MapInfos.json": + if "Map" in filename and "MapInfos" not in filename: translatedData = parseMap(data, filename) # CommonEvents Files