fixtures can be despawned by "mining" them

This commit is contained in:
minjaesong
2021-09-21 00:22:36 +09:00
parent c63b31e964
commit 26c71e691c
22 changed files with 79 additions and 63 deletions

View File

@@ -1922,8 +1922,8 @@ open class ActorWithBody : Actor {
this
override fun dispose() {
sprite?.dispose()
spriteGlow?.dispose()
App.disposables.add(sprite)
App.disposables.add(spriteGlow)
}
}