From 2419057940d74bff8a62097380b4cf9fae193ea0 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 24 May 2012 16:10:57 +0300 Subject: [PATCH] now can see error when try to send more resources than your merchants max carry --- Templates/Build/17.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/Build/17.tpl b/Templates/Build/17.tpl index 1d269057..3d355501 100644 --- a/Templates/Build/17.tpl +++ b/Templates/Build/17.tpl @@ -200,7 +200,7 @@ if(isset($_POST['ft'])=='check'){ $error = 'Resources not selected.'; }elseif(!$_POST['x'] && !$_POST['y'] && !$_POST['dname']){ $error = 'Enter coordinates or village name.'; - }elseif($allres <= $market->maxcarry){ + }elseif($allres > $market->maxcarry){ $error = 'Too few merchants.'; } echo $error;