forked from metin-server/m2dev-client
fix: Whisper crash
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user