fixed a bug where some player-related values are not being written on saving when the player was loaded from the savegame

This commit is contained in:
minjaesong
2021-10-14 10:18:20 +09:00
parent 0913937ba2
commit e1a3ea953d
5 changed files with 19 additions and 8 deletions

View File

@@ -426,8 +426,6 @@ open class TerrarumIngame(batch: SpriteBatch) : IngameInstance(batch) {
savegameNickname = worldParams.savegameName
player.worldCurrentlyPlaying = UUID.fromString(world.worldIndex.toString())
world.worldCreator = UUID.fromString(player.uuid.toString())
printdbg(this, "new woridIndex: ${world.worldIndex}")