refresh playground sprites when entry changes

This commit is contained in:
2021-09-18 18:37:47 -06:00
parent 1e44f1db11
commit 9b228f8586

View File

@@ -157,8 +157,9 @@
// Entries whose data changed to remove them from the sprite pool will already have been removed
// by refreshEntry()
(when (spriteSystem.entries.exists e.id)
(spriteSystem.onRemoveEntry e)
(spriteSystem.processEntry e))))
(when (spriteSystem.sprites.exists e.id)
(spriteSystem.onRemoveEntry archive e))
(spriteSystem.processEntry archive e))))
(prop &mut :Int uiY 0)