1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00

not use mutex

This commit is contained in:
kdmcser
2025-04-11 22:52:20 +08:00
parent afd64daf04
commit 75aa89ae6e
2 changed files with 0 additions and 2 deletions

View File

@@ -200,7 +200,6 @@ JsonNode OwnerUpdater::toJsonNode() const
std::shared_ptr<Bonus> OwnerUpdater::createUpdatedBonus(const std::shared_ptr<Bonus> & b, const CBonusSystemNode & context)
{
std::lock_guard lock(mutex);
owner = context.getOwner();
if(owner == PlayerColor::UNFLAGGABLE)

View File

@@ -125,7 +125,6 @@ public:
class DLL_LINKAGE OwnerUpdater : public IUpdater
{
protected:
std::mutex mutex;
PlayerColor owner;
public: