Skip to content

Commit

Permalink
Fixed BYOND v515.1643 to not compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Cooeen committed Sep 7, 2024
1 parent dff7cc6 commit d27576f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/datums/mutable_appearance.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@

// Mutable appearances are children of images, just so you know.

// causing BYOND v515.1643 to not compile, does not seem to do anything but define what is already defined below in proc anyway.
/*
/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)
Expand Down

0 comments on commit d27576f

Please sign in to comment.