Added game files from TMP4
This commit is contained in:
@ -19,6 +19,7 @@ class RestartDialog(ui.ScriptWindow):
|
||||
pyScrLoader = ui.PythonScriptLoader()
|
||||
pyScrLoader.LoadScriptFile(self, "uiscript/restartdialog.py")
|
||||
except Exception, msg:
|
||||
import sys
|
||||
(type, msg, tb)=sys.exc_info()
|
||||
dbg.TraceError("RestartDialog.LoadDialog - %s:%s" % (type, msg))
|
||||
app.Abort()
|
||||
@ -49,7 +50,7 @@ class RestartDialog(ui.ScriptWindow):
|
||||
|
||||
def Close(self):
|
||||
self.Hide()
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
def RestartHere(self):
|
||||
net.SendChatPacket("/restart_here")
|
||||
@ -58,7 +59,7 @@ class RestartDialog(ui.ScriptWindow):
|
||||
net.SendChatPacket("/restart_town")
|
||||
|
||||
def OnPressExitKey(self):
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
def OnPressEscapeKey(self):
|
||||
return TRUE
|
||||
return True
|
||||
|
Reference in New Issue
Block a user