From 74f9301aa4620255dcf9aabd51c9314bd351c33c Mon Sep 17 00:00:00 2001 From: Morrow Date: Sat, 14 Oct 2023 03:51:27 -0400 Subject: [PATCH] resets number to spawn when new xeno selected --- code/modules/admin/game_master.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/admin/game_master.dm b/code/modules/admin/game_master.dm index 1f65e33ae1..22f51e856e 100644 --- a/code/modules/admin/game_master.dm +++ b/code/modules/admin/game_master.dm @@ -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") @@ -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