Fix: Hide hero training/revive when Heros mansion is level 0 (#147)

Co-authored-by: hdmaniak <bombo15.forum@gmail.com>
This commit is contained in:
hdmaniak2
2026-03-26 07:20:35 +01:00
committed by GitHub
parent e167e3c9f8
commit 0684a60c67
+2 -2
View File
@@ -62,9 +62,9 @@
$name1 = 'unknown';
}
if(isset($_GET['land'])) {
if(isset($_GET['land']) && $village->resarray['f' . $id] >= 1) {
include_once("37_land.tpl");
} else {
} else if ($village->resarray['f' . $id] >= 1) {
$include_training = true;
$include_revive = false;
if (isset($heroes) && is_array($heroes) && count($heroes)) {