Fixes vulerabilities in The Syndicate's security software (#72430)

Fixes #72420

🆑 ShizCalev
fix: Crew AIs can no longer interact with ANY syndicate machinery (ie
shuttle computers, buttons, ect.)
fix: Crew AIs can no longer attempt to track mobs on the syndicate base
to determine the gamemode.
/🆑
This commit is contained in:
ShizCalev
2023-01-03 20:20:35 -05:00
committed by GitHub
parent fb25613947
commit e2482efb5b
4 changed files with 12 additions and 5 deletions
-5
View File
@@ -13,11 +13,6 @@
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF
flags_1 = NODECONSTRUCT_1
/obj/machinery/computer/shuttle/syndicate/allowed(mob/M)
if(issilicon(M) && !(ROLE_SYNDICATE in M.faction))
return FALSE
return ..()
/obj/machinery/computer/shuttle/syndicate/launch_check(mob/user)
. = ..()
if(!.)