mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-05 20:34:21 +00:00
now can see error when try to send more resources than your merchants max carry
This commit is contained in:
@@ -200,7 +200,7 @@ if(isset($_POST['ft'])=='check'){
|
||||
$error = '<span class="error"><b>Resources not selected.</b></span>';
|
||||
}elseif(!$_POST['x'] && !$_POST['y'] && !$_POST['dname']){
|
||||
$error = '<span class="error"><b>Enter coordinates or village name.</b></span>';
|
||||
}elseif($allres <= $market->maxcarry){
|
||||
}elseif($allres > $market->maxcarry){
|
||||
$error = '<span class="error"><b>Too few merchants.</b></span>';
|
||||
}
|
||||
echo $error;
|
||||
|
||||
Reference in New Issue
Block a user