forked from metin2/client
Added game files from TMP4
This commit is contained in:
@ -35,7 +35,7 @@ class PopupDialog(ui.ScriptWindow):
|
||||
|
||||
def Open(self, Message, event = 0, ButtonName = localeInfo.UI_CANCEL):
|
||||
|
||||
if TRUE == self.IsShow():
|
||||
if True == self.IsShow():
|
||||
self.Close()
|
||||
|
||||
self.Lock()
|
||||
@ -51,7 +51,7 @@ class PopupDialog(ui.ScriptWindow):
|
||||
|
||||
def Close(self):
|
||||
|
||||
if FALSE == self.IsShow():
|
||||
if False == self.IsShow():
|
||||
self.CloseEvent = 0
|
||||
return
|
||||
|
||||
@ -68,11 +68,11 @@ class PopupDialog(ui.ScriptWindow):
|
||||
|
||||
def OnPressEscapeKey(self):
|
||||
self.Close()
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
def OnIMEReturn(self):
|
||||
self.Close()
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
##
|
||||
## Main Stream
|
||||
@ -177,6 +177,14 @@ class MainStream(object):
|
||||
import introLogin
|
||||
self.SetPhaseWindow(introLogin.LoginWindow(self))
|
||||
|
||||
def SameLogin_SetLoginPhase(self):
|
||||
net.Disconnect()
|
||||
|
||||
import introLogin
|
||||
introInst = introLogin.LoginWindow(self)
|
||||
self.SetPhaseWindow(introInst)
|
||||
introInst.SameLogin_OpenUI()
|
||||
|
||||
def SetSelectEmpirePhase(self):
|
||||
try:
|
||||
import introEmpire
|
||||
|
Reference in New Issue
Block a user