fix: PHP4x + PHP5x constructors change for PHP7+ compatible ones

This commit is contained in:
Martin Ambrus
2017-09-19 20:40:43 +02:00
parent 0ca4c4732f
commit db4c373ace
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class Building {
private $basic,$inner,$plus = 0;
public $buildArray = array();
public function Building() {
public function __construct() {
global $session;
$this->maxConcurrent = BASIC_MAX;
if(ALLOW_ALL_TRIBE || $session->tribe == 1) {