Separated the goddamn overlay direction quirk between mobs and turfs since apparently they both misused the same shit in a different way, conflicting like crap!

This commit is contained in:
Verkister
2017-03-15 13:52:39 +02:00
parent afb8d2a006
commit 41d47301dd

View File

@@ -100,6 +100,8 @@ var/datum/subsystem/processing/overlays/SSoverlays
else
var/image/I = overlays[i]
appearance_bro.appearance = I
if(isturf(src))
appearance_bro.dir = I.dir
overlays[i] = appearance_bro.appearance
var/list/cached_overlays = our_overlays //sanic
@@ -129,6 +131,8 @@ var/datum/subsystem/processing/overlays/SSoverlays
else
var/image/I = overlays[i]
appearance_bro.appearance = I
if(isturf(src))
appearance_bro.dir = I.dir
overlays[i] = appearance_bro.appearance
LAZYINITLIST(our_overlays) //always initialized after this point