make prop LAYER_MAX be above all layers

This commit is contained in:
2022-01-09 21:51:29 -07:00
parent a8b6bb50c3
commit 62392bf1df
2 changed files with 6 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
(super)
(add setSprite)
// TODO characters will be in front of every prop layer -- characters need their own group layer
(doFor i (range (+ 1 LAYER_MAX))
(doFor i (range LAYER_MAX)
(let [g (new FlxTypedGroup<FlxSprite>)]
(spriteLayers.push g)
(add g))))