diff --git a/code/modules/mob/living/simple_animal/hostile/plaguerat.dm b/code/modules/mob/living/simple_animal/hostile/plaguerat.dm
index c72a835c2b..efec421e6d 100644
--- a/code/modules/mob/living/simple_animal/hostile/plaguerat.dm
+++ b/code/modules/mob/living/simple_animal/hostile/plaguerat.dm
@@ -112,7 +112,6 @@
return
var/turf/T = get_turf(owner)
var/loot = rand(1,100)
- var/body = /obj/effect/mob_spawn/human/corpse/assistant
switch(loot)
if(1 to 3)
var/pickedtrash = pick(GLOB.ratking_trash)
@@ -123,12 +122,12 @@
new /obj/effect/decal/cleanable/blood/gibs(T)
new /obj/effect/decal/cleanable/blood/(T)
if(7 to 18)
- if(locate(body) in T)
+ if(locate(/mob/living/carbon/human) in T)
to_chat(owner, "A corpse is blocking you from digging.")
return
else
to_chat(owner, "A corpse rises from the ground. Best to leave it alone.")
- new body(T)
+ new /obj/effect/mob_spawn/human/corpse/assistant(T)
if(19 to 100)
to_chat(owner, "Drat. Nothing.")
StartCooldown()