mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-04 17:37:21 +00:00
Merge pull request #169 from cosme12/patch-4
Building at random positions fix
This commit is contained in:
@@ -86,9 +86,11 @@ class Building {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(isset($get['a']) && $get['c'] == $session->checker && isset($get['id'])) {
|
if(isset($get['a']) && $get['c'] == $session->checker && isset($get['id'])) {
|
||||||
$session->changeChecker();
|
if ($get['id'] > 18 && ($get['id'] < 41 || $get['id'] == 99)){
|
||||||
$this->canProcess($get['a'],$get['id']);
|
$session->changeChecker();
|
||||||
$this->constructBuilding($get['id'],$get['a']);
|
$this->canProcess($get['a'],$get['id']);
|
||||||
|
$this->constructBuilding($get['id'],$get['a']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(isset($get['buildingFinish']) && $session->plus) {
|
if(isset($get['buildingFinish']) && $session->plus) {
|
||||||
if($session->gold >= 2 && $session->sit == 0) {
|
if($session->gold >= 2 && $session->sit == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user