From b579fcac007ebcba3a6ca697fdf8df0e425febcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ambru=C5=A1?= Date: Thu, 5 Oct 2017 16:16:07 +0200 Subject: [PATCH] fix: PHP <7 constructor --- GameEngine/Village.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Village.php b/GameEngine/Village.php index 4219a5ef..4c0450d7 100755 --- a/GameEngine/Village.php +++ b/GameEngine/Village.php @@ -27,7 +27,7 @@ class Village { private $production = array(); private $oasisowned,$ocounter = array(); - function Village() { + function __construct() { global $session, $database; if(isset($_SESSION['wid'])) { $this->wid = $_SESSION['wid'];