Merge pull request #30 from rtw1x1/main

fix: Whisper crash
This commit is contained in:
rtw1x1
2025-12-31 21:52:52 +00:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -2765,6 +2765,7 @@ class PythonScriptLoader(object):
self.ScriptDictionary["PLAYER_NAME_MAX_LEN"] = chr.PLAYER_NAME_MAX_LEN
self.ScriptDictionary["DRAGON_SOUL_EQUIPMENT_SLOT_START"] = player.DRAGON_SOUL_EQUIPMENT_SLOT_START
self.ScriptDictionary["LOCALE_PATH"] = app.GetLocalePath()
self.ScriptDictionary["LOCALE_PATH_COMMON"] = app.GetLocalePathCommon()
execfile(FileName, self.ScriptDictionary)
except IOError, err:
import sys

View File

@@ -77,7 +77,7 @@ window = {
"x_scale" : 0.2,
"y_scale" : 0.2,
"image" : LOCALE_PATH + "/effect/ymirred.tga",
"image" : LOCALE_PATH_COMMON + "/effect/ymirred.tga",
},
## Button