mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-02 00:27:12 +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>';
|
$error = '<span class="error"><b>Resources not selected.</b></span>';
|
||||||
}elseif(!$_POST['x'] && !$_POST['y'] && !$_POST['dname']){
|
}elseif(!$_POST['x'] && !$_POST['y'] && !$_POST['dname']){
|
||||||
$error = '<span class="error"><b>Enter coordinates or village name.</b></span>';
|
$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>';
|
$error = '<span class="error"><b>Too few merchants.</b></span>';
|
||||||
}
|
}
|
||||||
echo $error;
|
echo $error;
|
||||||
|
|||||||
Reference in New Issue
Block a user