mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +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:
@@ -774,3 +774,11 @@
|
||||
update_speed()
|
||||
qdel(speed_potion)
|
||||
return SPEED_POTION_STOP
|
||||
|
||||
/// Disables the mod link frequency attached to this unit.
|
||||
/obj/item/mod/control/proc/disable_modlink()
|
||||
if(isnull(mod_link))
|
||||
return
|
||||
|
||||
mod_link.end_call()
|
||||
mod_link.frequency = null
|
||||
|
||||
Reference in New Issue
Block a user