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
This commit is contained in:
@@ -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()
|
||||
overlays.Cut()
|
||||
|
||||
Reference in New Issue
Block a user