From: Stas P Date: Tue, 14 Dec 2010 16:43:14 +0000 (+0300) Subject: set message_window earlier to avoid crash on startup. X-Git-Tag: 2.2~115^2~3 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=dbceb736cc3d45591b5fc181150f81573f685072 set message_window earlier to avoid crash on startup. --- diff --git a/sst.py b/sst.py index 08377be..56297c0 100755 --- a/sst.py +++ b/sst.py @@ -5496,6 +5496,8 @@ def setup(): if game.state.nscrem: prout(_(" YOU'LL NEED IT.")) waitfor() + clrscr() + setwnd(message_window) newqad() if len(game.enemies) - (thing == game.quadrant) - (game.tholian != None): game.shldup = True @@ -5875,8 +5877,6 @@ def helpme(): def makemoves(): "Command-interpretation loop." - clrscr() - setwnd(message_window) while True: # command loop drawmaps(1) while True: # get a command