Skip to content

Commit

Permalink
fix - made mission enemies show dialogs when killed
Browse files Browse the repository at this point in the history
  • Loading branch information
OcelotWalrus committed Jan 19, 2024
1 parent 8502ec1 commit 479b3de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,8 @@ def run(play):
if spawning_checks == True and spawning_checks_2 == False:
logger_sys.log_message(f"INFO: Spawning enemy from mission '{current_mission_id}' with mission enemy data '{current_enemy_data}'")
enemy_handling.spawn_enemy(map_location, lists[str(current_enemy_data["enemy category"])], current_enemy_data["enemy number"],enemy, item, lists, start_player, map, player)
if "dialog" in current_enemy_data:
dialog_handling.print_dialog(current_enemy_data["dialog"], dialog, preferences, text_replacements_generic, player, drinks)

count2 += 1
count += 1
Expand Down

0 comments on commit 479b3de

Please sign in to comment.