POLARIS: Fixes #3280 (VS) - Typing as ghost removes overlays

Also gives them the proper ghost speech bubble. Unsure why it wasn't used!
This commit is contained in:
Arokha Sieyes
2018-03-20 14:34:58 -04:00
parent 95877cc30a
commit 7a02be8154

View File

@@ -103,12 +103,12 @@
if (ishuman(body))
var/mob/living/carbon/human/H = body
icon = H.icon
underlays = H.underlays
overlays = H.overlays
icon_state = H.icon_state
add_overlay(H.overlays_standing) //All our equipment sprites
else
icon = body.icon
icon_state = body.icon_state
overlays = body.overlays
add_overlay(body.overlays)
gender = body.gender
if(body.mind && body.mind.name)
@@ -800,4 +800,7 @@ mob/observer/dead/MayRespawn(var/feedback = 0)
if(PP.pai == null)
PP.overlays += "pai-ghostalert"
spawn(54)
PP.overlays.Cut()
PP.overlays.Cut()
/mob/observer/dead/speech_bubble_appearance()
return "ghost"