This commit is contained in:
titison 2015-01-09 23:31:30 +01:00
parent ce23353138
commit 70248095e6
1 changed files with 0 additions and 1 deletions

View File

@ -1397,7 +1397,6 @@ void Faction::limitResourcesToStore() {
const ResourceType *rt= r->getType();
if(rt->getClass() != rcStatic && (getResource(rt,false)->getAmount())>getStoreAmount(rt,false)) {
r->setAmount(getStoreAmount(rt,false)-(getResource(rt,false)->getAmount()-r->getAmount()));
return;
}
}
} else {