Skip to content
Snippets Groups Projects
Commit 2a03dd86 authored by Ryan Tresman's avatar Ryan Tresman
Browse files

room is now cleared after defeating an enemy

parent 062ca33e
No related branches found
No related tags found
No related merge requests found
......@@ -302,6 +302,7 @@ def combat(enemy):
# check if you killed enemy
if enemy.alive == False:
print("You defeated the " + enemy.name + "!\n")
player.current_room.cleared = True
break
# now calculate the enemies attack
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment