Added game files from TMP4

This commit is contained in:
2023-07-21 21:55:58 +03:00
parent bb44b31af9
commit eb47a22455
9325 changed files with 276198 additions and 69890 deletions

View File

@ -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