mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-07 05:14:31 +00:00
fix: PHP4x + PHP5x constructors change for PHP7+ compatible ones
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user