Skip to content

Commit

Permalink
Once again awkwardly kills squads in game mode
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Nov 8, 2023
1 parent 0aa95b1 commit f9d0c6a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/game/gamemodes/colonialmarines/ai/colonialmarines_ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
/datum/game_mode/colonialmarines/ai/pre_setup()
RegisterSignal(SSdcs, COMSIG_GLOB_XENO_SPAWN, PROC_REF(handle_xeno_spawn))

for(var/datum/squad/squad in RoleAuthority.squads)
if(squad.type in squad_limit)
continue

RoleAuthority.squads -= squad
RoleAuthority.squads_by_type -= squad.type

. = ..()

/datum/game_mode/colonialmarines/ai/announce_bioscans()
Expand Down

0 comments on commit f9d0c6a

Please sign in to comment.