prep for staircase climbing

This commit is contained in:
minjaesong
2021-08-19 17:14:43 +09:00
parent 0faa77cb16
commit 07b1e2f2b7
2 changed files with 20 additions and 7 deletions

View File

@@ -245,7 +245,7 @@ class TitleScreen(batch: SpriteBatch) : IngameInstance(batch) {
if (!demoWorld.layerTerrain.ptr.destroyed) { // FIXME q&d hack to circumvent the dangling pointer issue #26
IngameRenderer.invoke(gamePaused = false, uiContainer = uiContainer)
IngameRenderer.invoke(gamePaused = true, uiContainer = uiContainer)
}
else {
printdbgerr(this, "Demoworld is already been destroyed")