From 7274234b7e0dcf1e5f9e34ad3256c8f12906a5cc Mon Sep 17 00:00:00 2001 From: Shadow Date: Fri, 14 Feb 2014 11:33:23 +0200 Subject: [PATCH] Update def_end.tpl --- Templates/Simulator/def_end.tpl | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) 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)" /> + + +