forked from metin2/client
Added game files from TMP4
This commit is contained in:
@ -19,7 +19,7 @@ class GameButtonWindow(ui.ScriptWindow):
|
||||
import dbg
|
||||
dbg.TraceError("GameButtonWindow.LoadScript - %s" % (msg))
|
||||
app.Abort()
|
||||
return FALSE
|
||||
return False
|
||||
|
||||
try:
|
||||
self.gameButtonDict={
|
||||
@ -37,11 +37,11 @@ class GameButtonWindow(ui.ScriptWindow):
|
||||
import dbg
|
||||
dbg.TraceError("GameButtonWindow.LoadScript - %s" % (msg))
|
||||
app.Abort()
|
||||
return FALSE
|
||||
return False
|
||||
|
||||
self.__HideAllGameButton()
|
||||
self.SetObserverMode(player.IsObserverMode())
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
def Destroy(self):
|
||||
for key in self.gameButtonDict:
|
||||
@ -89,9 +89,9 @@ class GameButtonWindow(ui.ScriptWindow):
|
||||
|
||||
def __IsSkillStat(self):
|
||||
if player.GetStatus(player.SKILL_ACTIVE) > 0:
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
return FALSE
|
||||
return False
|
||||
|
||||
def __OnClickExitObserver(self):
|
||||
net.SendChatPacket("/observer_exit")
|
||||
|
Reference in New Issue
Block a user