浏览代码

Fix battle bonuses serialization

nordsoft 2 年之前
父节点
当前提交
2a2f0a657e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/CPlayerState.cpp

+ 1 - 0
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;