mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-31 07:02:27 -08:00
fix restart bug
This commit is contained in:
@@ -873,7 +873,10 @@ def end_game(won=False, quit=True, enterprise_killed=False):
|
||||
# Entry point and main game loop
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
|
||||
def main():
|
||||
global restart
|
||||
|
||||
f = {'NAV': navigation, 'SRS': short_range_scan, 'LRS': long_range_scan,
|
||||
'PHA': phaser_control, 'TOR': photon_torpedoes, 'SHE': shield_control,
|
||||
'DAM': damage_control, 'COM': computer, 'XXX': end_game}
|
||||
|
||||
Reference in New Issue
Block a user