mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 16:14:08 +01:00
[MIRROR] Fixes modsuit control application [MDB IGNORE] (#19055)
Fixes modsuit control application (#73071) ## About The Pull Request Fixes the modsuit control app not properly working Accidentally caused it in a late commit on maintenance applications ## Why It's Good For The Game Closes https://github.com/tgstation/tgstation/issues/72980 ## Changelog 🆑 fix: the MODsuit control maint app now links up to MOdsuits. /🆑 Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
/datum/computer_file/program/maintenance/modsuit_control/application_attackby(obj/item/attacking_item, mob/living/user)
|
||||
. = ..()
|
||||
if(!istype(attacking_item, controlled_suit))
|
||||
if(!istype(attacking_item, /obj/item/mod/control))
|
||||
return FALSE
|
||||
if(controlled_suit)
|
||||
unsync_modsuit()
|
||||
|
||||
Reference in New Issue
Block a user