mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
fix OppositeSideLimiter error
This commit is contained in:
@@ -232,7 +232,7 @@ std::shared_ptr<Bonus> OwnerUpdater::createUpdatedBonus(const std::shared_ptr<Bo
|
||||
|
||||
std::shared_ptr<Bonus> updated =
|
||||
std::make_shared<Bonus>(*b);
|
||||
updated->limiter = b->limiter;
|
||||
updated->limiter = b->limiter->clone();
|
||||
if (updated->limiter)
|
||||
updated->limiter->acceptUpdater(*this);
|
||||
return updated;
|
||||
|
||||
Reference in New Issue
Block a user