Skip to content

Commit

Permalink
fix: s1_research must not cache on second village data load
Browse files Browse the repository at this point in the history
  • Loading branch information
martinambrus committed Nov 21, 2017
1 parent 56565ef commit 1b25c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameEngine/Village.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private function LoadTown($second_run = false) {
$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'];
Expand Down

0 comments on commit 1b25c4c

Please sign in to comment.