mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
[MIRROR] fix robot multibelts tgui usage (#11980)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9ae66b7e85
commit
c50f4d228f
@@ -636,7 +636,7 @@
|
||||
..()
|
||||
|
||||
/obj/item/weldingtool/electric/proc/get_external_power_supply()
|
||||
if(istype(src.loc, /obj/item/robotic_multibelt)) //We are in a multibelt
|
||||
if(isrobotmultibelt(src.loc)) //We are in a multibelt
|
||||
if(istype(src.loc.loc, /mob/living/silicon/robot)) //We are in a multibelt that is in a robot! This is sanity in case someone spawns a multibelt in via admin commands.
|
||||
var/mob/living/silicon/robot/R = src.loc.loc
|
||||
return R.cell
|
||||
|
||||
Reference in New Issue
Block a user