1
0
Fork 0

fix abort game method

This commit is contained in:
Lili (Tlapka) 2021-03-17 17:57:59 +01:00
parent d1e54caf1b
commit e165ce62b0
1 changed files with 4 additions and 2 deletions

View File

@ -138,11 +138,13 @@ class Game:
"""Abort game and reset attributes to their default state."""
subprocess.run(["vagrant", "destroy", "-f"], cwd=self.game_directory)
self.level = 0
self.branch = ''
self.load_times = []
self.solving_times = []
self.level_log = []
self.game_start_time = 0
self.level_start_time = 0
self.level = level_number
self.branch = ''
# # # METHODS THAT OUTPUT INTO STDOUT # # #
def print_next_level_fork_names(self):