mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 20:14:31 +01:00
Merge pull request #11640 from VOREStation/upstream-merge-8308
[MIRROR] Fixes runtime in mech equipment deletion
This commit is contained in:
@@ -228,6 +228,8 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/mecha_parts/mecha_equipment/proc/detach(atom/moveto=null)
|
||||
if(!chassis)
|
||||
return
|
||||
moveto = moveto || get_turf(chassis)
|
||||
forceMove(moveto)
|
||||
chassis.equipment -= src
|
||||
|
||||
Reference in New Issue
Block a user