mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Potentially Solves Disappearing Human Mob Issue?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user