Fixed a little bug

The market won't show anymore in the "Soon" list if already built.
This commit is contained in:
Pietro
2018-04-05 01:45:25 +02:00
committed by GitHub
parent f0d6210979
commit c2587d855f
+1 -1
View File
@@ -250,7 +250,7 @@ if($armoury == 0 && ($mainbuilding <= 2 || $academy == 0)) {
if($cropland <= 4) {
include("soon/grainmill.tpl");
}
if($marketplace == 0 && ($mainbuilding <= 2 || $granary <= 0 || $warehouse <= 0)) {
if($market == 0 && ($mainbuilding <= 2 || $granary <= 0 || $warehouse <= 0)) {
include("soon/marketplace.tpl");
}
if($residence == 0 && $mainbuilding <= 4) {