diff --git a/GameEngine/Database/db_MYSQL.php b/GameEngine/Database/db_MYSQL.php index 4deb01ca..6734b9d5 100644 --- a/GameEngine/Database/db_MYSQL.php +++ b/GameEngine/Database/db_MYSQL.php @@ -2572,6 +2572,12 @@ class MYSQL_DB { $result = mysql_query($q, $this->connection); return mysql_fetch_assoc($result); } + + function getEnforceControllTroops($vid) { + $q = "SELECT * from " . TB_PREFIX . "enforcement where vref = $vid"; + $result = mysql_query($q, $this->connection); + return mysql_fetch_assoc($result); + } function addEnforce($data) { $q = "INSERT into " . TB_PREFIX . "enforcement (vref,`from`) values (" . $data['to'] . "," . $data['from'] . ")";