fixed ConcurrentUpdateException with multi-threaded ai

This commit is contained in:
BetaSteward 2012-01-24 22:50:18 -05:00
parent e05024351f
commit 23616432e4
9 changed files with 51 additions and 28 deletions

View file

@ -128,5 +128,10 @@ class HarvestPyreCost extends CostImpl<HarvestPyreCost> implements VariableCost
public HarvestPyreCost copy() {
return new HarvestPyreCost(this);
}
@Override
public void setAmount(int amount) {
amountPaid = amount;
}
}