mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 04:57:47 +01:00
fix robot multibelts tgui usage (#18787)
This commit is contained in:
@@ -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