Merge pull request #4944 from VOREStation/pol-matweak

Tweak weird MA override
This commit is contained in:
Anewbe
2018-02-25 12:38:58 -06:00
committed by GitHub
3 changed files with 4 additions and 9 deletions

View File

@@ -4,10 +4,11 @@
// Mutable appearances are children of images, just so you know.
/mutable_appearance/New()
/mutable_appearance/New(copy_from, ...)
..()
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
if(!copy_from)
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)