mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 12:04:06 +09:00
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:
@@ -72,6 +72,8 @@ object WritePlayer {
|
||||
player.inventory = player.unauthorisedPlayerProps.inventory!!
|
||||
}
|
||||
|
||||
player.worldCurrentlyPlaying = ingame.world.worldIndex
|
||||
|
||||
|
||||
val actorJson = WriteActor.encodeToByteArray64(player)
|
||||
val adl = player.animDesc!!.getRawADL()
|
||||
|
||||
Reference in New Issue
Block a user