From 19009d335083ce11277827216b7292a4ccbabee9 Mon Sep 17 00:00:00 2001 From: Shadowss Date: Mon, 30 Sep 2013 12:35:51 +0300 Subject: [PATCH] fix scout in capital only --- create_account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_account.php b/create_account.php index 46a53d68..39a2134b 100644 --- a/create_account.php +++ b/create_account.php @@ -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){