diff --git a/code/modules/food/food/snacks.dm b/code/modules/food/food/snacks.dm index 98827ff70f..5e4a353d25 100644 --- a/code/modules/food/food/snacks.dm +++ b/code/modules/food/food/snacks.dm @@ -1153,7 +1153,7 @@ has_been_heated = 1 user.visible_message("[user] crushes \the [src] package.", "You crush \the [src] package and feel a comfortable heat build up. Now just to wait for it to be ready.") spawn(200) - if(src) + if(!QDELETED(src)) if(src.loc == user) to_chat(user, "You think \the [src] is ready to eat about now.") heat() diff --git a/code/modules/mob/animations.dm b/code/modules/mob/animations.dm index fe64242795..9e6efaed9c 100644 --- a/code/modules/mob/animations.dm +++ b/code/modules/mob/animations.dm @@ -296,6 +296,8 @@ note dizziness decrements automatically in the mob's Life() proc. return TRUE //Found an item, doing item attack animation. /mob/proc/spin(spintime, speed) + if(!speed || speed < 1) // Do NOT spin with infinite speed, it will break the reality + return spawn() var/D = dir while(spintime >= speed)