mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
Fixes simplemob icons when dying while resting.
-Makes the death proc stop simplemobs resting before the icon update so the dying mobs will no longer end up stuck with resting icon instead of the dead one.
This commit is contained in:
@@ -729,6 +729,7 @@
|
||||
/mob/living/simple_animal/death(gibbed, deathmessage = "dies!")
|
||||
density = 0 //We don't block even if we did before
|
||||
walk(src, 0) //We stop any background-processing walks
|
||||
resting = 0 //We can rest in peace later.
|
||||
|
||||
if(faction_friends.len)
|
||||
faction_friends -= src
|
||||
|
||||
Reference in New Issue
Block a user