Skip to content

Commit

Permalink
resets number to spawn when new xeno selected
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 14, 2023
1 parent 758d23c commit 74f9301
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/modules/admin/game_master.dm
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@

if("set_selected_xeno")
selected_xeno = params["new_xeno"]
xenos_to_spawn = DEFAULT_XENO_AMOUNT_TO_SPAWN
return

if("set_xeno_spawns")
Expand Down Expand Up @@ -129,3 +130,8 @@
new spawning_xeno_type(spawn_turf, null, XENO_HIVE_NORMAL, !spawn_ai)

return

#undef DEFAULT_SPAWN_XENO_STRING
#undef GAME_MASTER_AI_XENOS
#undef DEFAULT_XENO_AMOUNT_TO_SPAWN
#undef SPAWN_CLICK_INTERCEPT_ACTION

0 comments on commit 74f9301

Please sign in to comment.