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'];