mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 13:34:06 +09:00
genver for World now stores the version the world has generated
This commit is contained in:
@@ -387,6 +387,7 @@ open class TerrarumIngame(batch: FlippingSpriteBatch) : IngameInstance(batch) {
|
||||
}
|
||||
|
||||
loadCallback = codices.callbackAfterLoad
|
||||
worldGenVer = codices.worldGenver
|
||||
}
|
||||
|
||||
/** Load rest of the game with GL context */
|
||||
@@ -560,6 +561,7 @@ open class TerrarumIngame(batch: FlippingSpriteBatch) : IngameInstance(batch) {
|
||||
KeyToggler.forceSet(Input.Keys.Q, false)
|
||||
|
||||
loadCallback = newGameParams.callbackAfterLoad
|
||||
worldGenVer = null
|
||||
}
|
||||
|
||||
val ingameController = IngameController(this)
|
||||
|
||||
Reference in New Issue
Block a user