From 1b25c4c178cb31a346baca5ca8aebc57a5685abc Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Tue, 21 Nov 2017 01:34:11 +0100 Subject: [PATCH] fix: s1_research must not cache on second village data load #313 --- GameEngine/Village.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Village.php b/GameEngine/Village.php index efb0c9bf..2b24b993 100755 --- a/GameEngine/Village.php +++ b/GameEngine/Village.php @@ -92,7 +92,7 @@ class Village { $this->unitall = $technology->getAllUnits($this->wid); $this->techarray = $database->getTech($this->wid); $this->abarray = $database->getABTech($this->wid); - $this->researching = $database->getResearching($this->wid); + $this->researching = $database->getResearching($this->wid, !$second_run); $this->capital = $this->infoarray['capital']; $this->natar = $this->infoarray['natar'];