From 3e2cf6ec1409d6b43cd7e664f565724556262e8d Mon Sep 17 00:00:00 2001 From: Verkister Date: Fri, 17 Mar 2017 20:13:34 +0200 Subject: [PATCH] Overlay fix This took way too long lmao. Also manually edited the file in github since doing anything the right way is a goddamn shitfest on this system :v --- code/controllers/subsystem/processing/overlays.dm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/code/controllers/subsystem/processing/overlays.dm b/code/controllers/subsystem/processing/overlays.dm index 2336b85f37..14f967f996 100644 --- a/code/controllers/subsystem/processing/overlays.dm +++ b/code/controllers/subsystem/processing/overlays.dm @@ -100,9 +100,11 @@ var/datum/subsystem/processing/overlays/SSoverlays else var/image/I = overlays[i] appearance_bro.appearance = I - if(isturf(src)) + if(ishuman(src)) + overlays[i] = appearance_bro.appearance + else appearance_bro.dir = I.dir - overlays[i] = appearance_bro.appearance + overlays[i] = appearance_bro.appearance var/list/cached_overlays = our_overlays //sanic var/list/cached_priority = priority_overlays @@ -131,9 +133,11 @@ var/datum/subsystem/processing/overlays/SSoverlays else var/image/I = overlays[i] appearance_bro.appearance = I - if(isturf(src)) + if(ishuman(src)) + overlays[i] = appearance_bro.appearance + else appearance_bro.dir = I.dir - overlays[i] = appearance_bro.appearance + overlays[i] = appearance_bro.appearance LAZYINITLIST(our_overlays) //always initialized after this point LAZYINITLIST(priority_overlays) @@ -182,4 +186,4 @@ var/datum/subsystem/processing/overlays/SSoverlays overlays -= x /image/proc/cut_overlays(x) - overlays.Cut() \ No newline at end of file + overlays.Cut()