diff --git a/code/game/objects/items/devices/dogborg_sleeper.dm b/code/game/objects/items/devices/dogborg_sleeper.dm index d9527516..d4790cf7 100644 --- a/code/game/objects/items/devices/dogborg_sleeper.dm +++ b/code/game/objects/items/devices/dogborg_sleeper.dm @@ -245,12 +245,11 @@ /obj/item/dogborg/sleeper/proc/update_gut(mob/living/silicon/robot/hound) //Well, we HAD one, what happened to them? - var/prociconupdate = FALSE - var/currentenvy = hound.sleeper_nv - - if(!currentenvy) //runetime error fix with dogborgs with no sleepers + if(!hound) //runetime error fix with dogborgs with no sleepers return + var/prociconupdate = FALSE + var/currentenvy = hound.sleeper_nv hound.sleeper_nv = FALSE if(patient in contents) if(patient_laststat != patient.stat)