disable save if autosave is within 5 seconds

This commit is contained in:
minjaesong
2024-02-11 21:53:11 +09:00
parent 93f2e706c5
commit 57d25431bd
3 changed files with 71 additions and 49 deletions

View File

@@ -784,7 +784,7 @@ open class TerrarumIngame(batch: FlippingSpriteBatch) : IngameInstance(batch) {
}
}
internal var autosaveTimer = 0f
internal var autosaveTimer: Second = 0f
override fun render(updateRate: Float) {
// Q&D solution for LoadScreen and Ingame, where while LoadScreen is working, Ingame now no longer has GL Context