diff --git a/Templates/Simulator/def_end.tpl b/Templates/Simulator/def_end.tpl index 7e7aa6ca..dee4aeea 100644 --- a/Templates/Simulator/def_end.tpl +++ b/Templates/Simulator/def_end.tpl @@ -13,9 +13,15 @@ + + Stonemason's Lodge + Stonemason's Lodge + getValue('stonemason'); ?>" maxlength="2" title="Level Stonemason's Lodge" /> + + "; } if(in_array(2,$target)) { - if($_POST['wall2'] != 0){ + if(isset($_POST['wall2']) && $_POST['wall2'] != 0){ $wall2 = $_POST['wall2']; }else{ $wall2 = 0; @@ -42,8 +48,8 @@ "; } if(in_array(3,$target)) { - if($_POST['wall3'] != 0){ - $wall3 = $_POST['wall3']; + if(isset($_POST['wall3']) && $_POST['wall3'] != 0){ + $wall3 = $_POST['wall3']; }else{ $wall3 = 0; } @@ -63,11 +69,13 @@ - Palace - Stonemason's Lodge - getValue('stonemason'); ?>" maxlength="2" title="Level Stonemason's Lodge" /> - + Hero + Hero (def bonus) + getValue('h_def_bonus'); ?>" maxlength="4" title="Hero (def bonus)" /> + + +