mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 15:46:06 +00:00
General fixes
+Moved "isWinner()" method from Automation.php to Session.php, it's now triggered when activating plus function or entering in plus1.php/build.php +General clean-up and better indentation +The tournament square bonus is now displayed correctly
This commit is contained in:
@@ -4997,6 +4997,12 @@ References: User ID/Message ID, Mode
|
||||
else return ''; // all is good, no need to append additional alliance-related text
|
||||
}
|
||||
|
||||
function isThereAWinner(){
|
||||
$q = "SELECT Count(*) as Total FROM ".TB_PREFIX."fdata WHERE f99 = 100 and f99t = 40";
|
||||
$result = mysqli_fetch_array(mysqli_query($this->dblink, $q), MYSQLI_ASSOC);
|
||||
return $result['Total'] > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modify or delete a building being constructed/in queue
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user