Merge pull request #6736 from Citadel-Station-13/upstream-merge-37788

[MIRROR] Make admin heals also max out mood
This commit is contained in:
CitadelStationBot
2018-05-13 18:59:05 -05:00
committed by GitHub
+5
View File
@@ -492,6 +492,11 @@
ExtinguishMob()
fire_stacks = 0
update_canmove()
GET_COMPONENT(mood, /datum/component/mood)
if (mood)
QDEL_LIST(mood.mood_events)
mood.sanity = SANITY_GREAT
mood.update_mood()
//proc called by revive(), to check if we can actually ressuscitate the mob (we don't want to revive him and have him instantly die again)