mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[MIRROR] Disables mod links from virtual modsuits [NO GBP] [MDB IGNORE] (#25370)
* Disables mod links from virtual modsuits [NO GBP] (#80038) ## About The Pull Request Via discussion in discord:  ## Why It's Good For The Game Virtual entities, however suited up they are, shouldn't be able to communicate station side with crew or with syndicate entities. ## Changelog 🆑 fix: Mod links are now disabled in the virtual realm. /🆑 * Disables mod links from virtual modsuits [NO GBP] --------- Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
This commit is contained in:
@@ -78,6 +78,16 @@
|
||||
var/obj/effect/mob_spawn/corpse/spawner = thing
|
||||
|
||||
mutation_candidate_refs.Add(spawner.spawned_mob_ref)
|
||||
continue
|
||||
|
||||
if(istype(thing, /obj/machinery/suit_storage_unit))
|
||||
var/obj/machinery/suit_storage_unit/storage = thing
|
||||
storage.disable_modlink()
|
||||
continue
|
||||
|
||||
if(istype(thing, /obj/item/mod/control))
|
||||
var/obj/item/mod/control/modsuit = thing
|
||||
modsuit.disable_modlink()
|
||||
|
||||
UnregisterSignal(source, COMSIG_LAZY_TEMPLATE_LOADED)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user