mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
[MIRROR] fixes being unable to attach training toolboxes to training units (#3479)
* fixes being unable to attach training toolboxes to training units (#56990) * fixes being unable to attach training toolboxes to training units Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
* machine will gain an auto-attached syndicate toolbox, so in that case we shouldn't be able to swap it out
|
||||
*/
|
||||
/obj/structure/training_machine/attackby(obj/item/target, mob/living/user)
|
||||
if (!user.combat_mode)
|
||||
if (user.combat_mode)
|
||||
return ..()
|
||||
if (!istype(target, /obj/item/training_toolbox) && !istype(target, /obj/item/target))
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user