Formatting
This commit is contained in:
parent
860b98f1a9
commit
362caee205
1 changed files with 2 additions and 3 deletions
|
@ -150,13 +150,12 @@ class Game: # the game class keeps information about the loaded game
|
||||||
sleep(5)
|
sleep(5)
|
||||||
self.current = self.nodes[self.current]["actions"][0] # move to the first action
|
self.current = self.nodes[self.current]["actions"][0] # move to the first action
|
||||||
self.print_text()
|
self.print_text()
|
||||||
return
|
|
||||||
else:
|
else:
|
||||||
# Player defeated
|
# Player defeated
|
||||||
print(self.lang["defeat"].replace("$enemy",enemy["name"]))
|
print(self.lang["defeat"].replace("$enemy",enemy["name"]))
|
||||||
sleep(5)
|
sleep(5)
|
||||||
self.print_text()
|
self.print_text()
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
m = MenuManager(actions_desc,self.parse_colors(self.nodes[self.current]["text"]))
|
m = MenuManager(actions_desc,self.parse_colors(self.nodes[self.current]["text"]))
|
||||||
sel = m.selected
|
sel = m.selected
|
||||||
|
|
Reference in a new issue