Skip to content

Commit

Permalink
Fixed typo help message battlevel.
Browse files Browse the repository at this point in the history
Deleted exitgame (shutdown already did this)
  • Loading branch information
aperture321 committed Nov 2, 2011
1 parent ea31cc0 commit c12aba3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ def mprint(self):
self.PLANETCHOICE()
elif cmd[0] == "PLANETPROPS":
self.getPlanetProperties(self.currentPlanet)
elif cmd[0] == "EXITGAME":
self.EXITGAME()
else:
if self.exit == "False":
print "\033[31mCOMMAND NOT VALID"
Expand All @@ -90,7 +88,7 @@ def START(self):
thread.start_new_thread(self.useO2,(),)

def HELP(self):
print "\033[0;34mOPTIONS:\nSTART\nHELP\nGOTO\nBATTLELEVEL\nSHUTDOWN\nPLANETPROPS\nEXITGAME\033[0m"
print "\033[0;34mOPTIONS:\nSTART\nHELP\nGOTO\nBATTLEVEL\nPLANETCHOICE\nSHUTDOWN\nPLANETPROPS\n\033[0m"

def GOTO(self, cmd):
if self.shipStarted == "True":
Expand Down Expand Up @@ -152,9 +150,6 @@ def SHUTDOWN(self):
else:
print "\033[0;31mSYSTEM NOT STARTED; NO SHUTDOWN\033[0m"

def EXITGAME(self):
return 1 #TODO exit gracefully?

def useO2(self):
while self.exit == "False":
if self.lifesupport_started == "False":
Expand Down

0 comments on commit c12aba3

Please sign in to comment.