From f344c0568cee554e435330c2e7b8ddd7175f4b87 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 22 Nov 2019 21:22:45 +0800 Subject: [PATCH] Adjust continent sheet name --- .../nel/tools/build_gamedata/processes/properties/0_setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/nel/tools/build_gamedata/processes/properties/0_setup.py b/code/nel/tools/build_gamedata/processes/properties/0_setup.py index 1a0889caf..2634c4aca 100755 --- a/code/nel/tools/build_gamedata/processes/properties/0_setup.py +++ b/code/nel/tools/build_gamedata/processes/properties/0_setup.py @@ -81,6 +81,10 @@ for line in ps: ContinentPath except NameError: ContinentPath = "_invalid" + try: + ContinentSheet + except NameError: + ContinentSheet = "_invalid" try: BankTileBankName except NameError: @@ -113,6 +117,7 @@ for line in ps: newline = newline.replace("%ContinentPath%", ContinentPath) newline = newline.replace("%CommonName%", CommonName) newline = newline.replace("%CommonPath%", CommonPath) + newline = newline.replace("%ContinentSheet%", ContinentSheet) newline = newline.replace("%BankTileBankName%", BankTileBankName) newline = newline.replace("%IgLandBuildDirectory%", IgLandBuildDirectory) newline = newline.replace("%IgOtherBuildDirectory%", IgOtherBuildDirectory)