mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-09 14:16:08 +00:00
General fixes
+Fixed a bug that didn't permit to change the name or the Tag of the alliance individually +Fixed a bug that didn't count the population growth sometimes +Fixed a bug that didn't halve the population consumption in WW villages
This commit is contained in:
@@ -157,7 +157,7 @@ class Village {
|
||||
$this->production['wood'] = $this->getWoodProd();
|
||||
$this->production['clay'] = $this->getClayProd();
|
||||
$this->production['iron'] = $this->getIronProd();
|
||||
$this->production['crop'] = $this->getCropProd() - $this->pop - $upkeep;
|
||||
$this->production['crop'] = $this->getCropProd() - (!$this->natar ? $this->pop : round($this->pop / 2)) - $upkeep;
|
||||
}
|
||||
|
||||
private function processProduction() {
|
||||
|
||||
Reference in New Issue
Block a user