mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user