From 454106dfcec7c257f4ffecb38b89b03c01352b13 Mon Sep 17 00:00:00 2001 From: AL-Kateb Date: Thu, 4 Jan 2018 11:37:23 +0000 Subject: [PATCH] Removed a debugging echo --- Templates/Build/22_2.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/Templates/Build/22_2.tpl b/Templates/Build/22_2.tpl index c40ae2fc..ed850bfa 100644 --- a/Templates/Build/22_2.tpl +++ b/Templates/Build/22_2.tpl @@ -20,7 +20,6 @@ for($i=12;$i<=19;$i++) { //-- If available resources combined are not enough, remove NPC button $total_required = (int)(${'r'.$i}['wood'] + ${'r'.$i}['clay'] + ${'r'.$i}['iron'] + ${'r'.$i}['crop']); - echo "Total required is $total_required and total available is " . $village->atotal; if($session->userinfo['gold'] >= 3 && $building->getTypeLevel(17) >= 1 && $village->atotal >= $total_required) { echo "|\"NPC"; }