From 2a2f0a657e9120a56fa7d9ad99c9e5f1f7a64d0a Mon Sep 17 00:00:00 2001 From: nordsoft Date: Fri, 22 Sep 2023 13:34:00 +0200 Subject: [PATCH] Fix battle bonuses serialization --- lib/CPlayerState.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CPlayerState.cpp b/lib/CPlayerState.cpp index faa021bbe..b521b5d13 100644 --- a/lib/CPlayerState.cpp +++ b/lib/CPlayerState.cpp @@ -39,6 +39,7 @@ PlayerState::PlayerState(PlayerState && other) noexcept: std::swap(towns, other.towns); std::swap(dwellings, other.dwellings); std::swap(quests, other.quests); + std::swap(battleBonuses, other.battleBonuses); } PlayerState::~PlayerState() = default;