forcemodule fix (#21009)

This commit is contained in:
GDN
2023-05-11 11:50:59 -05:00
committed by GitHub
parent 607543b370
commit 73269c0527
+1 -1
View File
@@ -146,7 +146,7 @@ GLOBAL_VAR_INIT(ert_request_answered, FALSE)
/client/proc/create_response_team_part_1(new_gender, new_species, role, turf/spawn_location)
if(role == "Cyborg")
var/mob/living/silicon/robot/ert/R = new GLOB.active_team.borg_path(spawn_location)
if(!GLOB.active_team.cyborg_security_permitted)
if(!GLOB.active_team.cyborg_security_permitted && !length(R.force_modules))
R.force_modules = list("Engineering", "Medical")
return R