mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-29 00:54:31 +00:00
Merge pull request #373 from Shadowss/patch-70
fix scout in capital only
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ if($_POST['password'] != ""){
|
||||
|
||||
$natar = mysql_fetch_array(mysql_query("SELECT * FROM " . TB_PREFIX . "vdata WHERE owner = $uid and capital = 1"));
|
||||
$multiplier = NATARS_UNITS;
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "vdata WHERE owner > '5'";
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "vdata WHERE capital = '1' and owner > '5'";
|
||||
$array = $database->query_return($q);
|
||||
$sendspytroops = 1500 * $multiplier;
|
||||
foreach($array as $vill){
|
||||
|
||||
Reference in New Issue
Block a user