Skip to content

Commit

Permalink
bugfix[major] - fixed infinite loop when spawning enemies
Browse files Browse the repository at this point in the history
  • Loading branch information
OcelotWalrus authored Dec 31, 2024
1 parent b7be3e6 commit 5a3913d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/enemy_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def generate_enemies_from_list(lists, list_enemies, player):
finished = True
count += 1
if count > len(list(list_enemies)) - 1: # forces to choose
count = 0
chosen_entry = entry

if player["difficulty mode"] == 0:
difficulty = "easy"
Expand Down

0 comments on commit 5a3913d

Please sign in to comment.