habit puzzle game beta

This commit is contained in:
2022-07-09 22:14:30 +00:00
parent 31a2f60719
commit 15245c4707
3 changed files with 10 additions and 5 deletions

View File

@@ -102,9 +102,7 @@
(let [rewardSprite
(new FlxSprite 0 0
(BitmapData.fromFile
(joinPath
(Path.directory m.textFile)
currentRewardFile.path)))]
currentRewardFile.path))]
(when rewardSprites
(remove rewardSprites))
(rewardSprite.setGraphicSize FlxG.width 0)