fix abort game method
This commit is contained in:
parent
d1e54caf1b
commit
e165ce62b0
|
@ -138,11 +138,13 @@ class Game:
|
||||||
"""Abort game and reset attributes to their default state."""
|
"""Abort game and reset attributes to their default state."""
|
||||||
|
|
||||||
subprocess.run(["vagrant", "destroy", "-f"], cwd=self.game_directory)
|
subprocess.run(["vagrant", "destroy", "-f"], cwd=self.game_directory)
|
||||||
self.level = 0
|
|
||||||
self.branch = ''
|
|
||||||
self.load_times = []
|
self.load_times = []
|
||||||
self.solving_times = []
|
self.solving_times = []
|
||||||
|
self.level_log = []
|
||||||
|
self.game_start_time = 0
|
||||||
self.level_start_time = 0
|
self.level_start_time = 0
|
||||||
|
self.level = level_number
|
||||||
|
self.branch = ''
|
||||||
|
|
||||||
# # # METHODS THAT OUTPUT INTO STDOUT # # #
|
# # # METHODS THAT OUTPUT INTO STDOUT # # #
|
||||||
def print_next_level_fork_names(self):
|
def print_next_level_fork_names(self):
|
||||||
|
|
Reference in New Issue