mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-22 20:46:10 +00:00
fix vacation mode for market
This commit is contained in:
@@ -104,6 +104,11 @@ class Market
|
|||||||
header("Location: banned.php");
|
header("Location: banned.php");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
//check if vacation mode:
|
||||||
|
elseif($database->getvacmodexy($id)){
|
||||||
|
$form->addError("error","User is on vacation mode");
|
||||||
|
//break;
|
||||||
|
}
|
||||||
else if($availableWood >= $post['r1'] AND $availableClay >= $post['r2'] AND $availableIron >= $post['r3'] AND $availableCrop >= $post['r4'])
|
else if($availableWood >= $post['r1'] AND $availableClay >= $post['r2'] AND $availableIron >= $post['r3'] AND $availableCrop >= $post['r4'])
|
||||||
{
|
{
|
||||||
$resource = array($wtrans,$ctrans,$itrans,$crtrans);
|
$resource = array($wtrans,$ctrans,$itrans,$crtrans);
|
||||||
|
|||||||
Reference in New Issue
Block a user