mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +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:
@@ -22,11 +22,12 @@ class Building {
|
||||
public $NewBuilding = false;
|
||||
private $maxConcurrent;
|
||||
private $allocated;
|
||||
private $basic,$inner,$plus = 0;
|
||||
private $basic, $inner, $plus = 0;
|
||||
public $buildArray = [];
|
||||
|
||||
public function __construct() {
|
||||
global $session;
|
||||
|
||||
$this->maxConcurrent = BASIC_MAX;
|
||||
|
||||
if(ALLOW_ALL_TRIBE || $session->tribe == 1) $this->maxConcurrent += INNER_MAX;
|
||||
|
||||
Reference in New Issue
Block a user