forked from metin2/client
Added game files from TMP4
This commit is contained in:
@ -144,7 +144,7 @@ class SelectEmpireWindow(ui.ScriptWindow):
|
||||
event.SetRestrictedCount(self.descIndex, 35)
|
||||
|
||||
def PrevDescriptionPage(self):
|
||||
if TRUE == event.IsWait(self.descIndex):
|
||||
if True == event.IsWait(self.descIndex):
|
||||
if event.GetVisibleStartLine(self.descIndex)-5 >= 0:
|
||||
event.SetVisibleStartLine(self.descIndex, event.GetVisibleStartLine(self.descIndex)-5)
|
||||
event.Skip(self.descIndex)
|
||||
@ -152,7 +152,7 @@ class SelectEmpireWindow(ui.ScriptWindow):
|
||||
event.Skip(self.descIndex)
|
||||
|
||||
def NextDescriptionPage(self):
|
||||
if TRUE == event.IsWait(self.descIndex):
|
||||
if True == event.IsWait(self.descIndex):
|
||||
event.SetVisibleStartLine(self.descIndex, event.GetVisibleStartLine(self.descIndex)+5)
|
||||
event.Skip(self.descIndex)
|
||||
else:
|
||||
@ -245,7 +245,7 @@ class SelectEmpireWindow(ui.ScriptWindow):
|
||||
|
||||
def OnPressEscapeKey(self):
|
||||
self.ClickExitButton()
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
class ReselectEmpireWindow(SelectEmpireWindow):
|
||||
def ClickSelectButton(self):
|
||||
|
Reference in New Issue
Block a user