Potentially Solves Disappearing Human Mob Issue?

This commit is contained in:
Fox McCloud
2019-05-08 17:25:35 -04:00
parent c213e968a2
commit 61b337578b
+6 -1
View File
@@ -4,6 +4,11 @@
// Mutable appearances are children of images, just so you know.
/mutable_appearance/New()
..()
plane = FLOAT_PLANE // No clue why this is 0 by default yet images are on FLOAT_PLANE
// And yes this does have to be in the constructor, BYOND ignores it if you set it as a normal var
// Helper similar to image()
/proc/mutable_appearance(icon, icon_state = "", layer = FLOAT_LAYER, plane = FLOAT_PLANE)
var/mutable_appearance/MA = new()
@@ -13,7 +18,7 @@
MA.plane = plane
return MA
/mutable_appearance/clean
/mutable_appearance/clean/New()
. = ..()
alpha = 255