mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
fix: new encumbrance limit was not applied AT ALL
This commit is contained in:
@@ -163,7 +163,7 @@ internal object SavegameMigrator {
|
||||
}
|
||||
|
||||
|
||||
@AppliedVersion("0.3.99999")
|
||||
@AppliedVersion("0.4.0")
|
||||
fun updatePlayerEncumbrance(actor: Actor) {
|
||||
if (actor is IngamePlayer && actor.actorValue.getAsInt("encumbrance") == 1000) {
|
||||
actor.actorValue.set("encumbrance", 50000)
|
||||
|
||||
Reference in New Issue
Block a user