mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
writeworldinfo tested to be working
This commit is contained in:
@@ -231,7 +231,8 @@ open class Ingame(batch: SpriteBatch) : IngameInstance(batch) {
|
||||
|
||||
|
||||
// init map as chosen size
|
||||
gameworld = GameWorldExtension(1, worldParams.width, worldParams.height)
|
||||
val timeNow = System.currentTimeMillis() / 1000
|
||||
gameworld = GameWorldExtension(1, worldParams.width, worldParams.height, timeNow, timeNow, 0) // new game, so the creation time is right now
|
||||
gameworldCount++
|
||||
world = gameworld as GameWorld
|
||||
|
||||
|
||||
Reference in New Issue
Block a user