Дополнительный файл конфигов. Разнесение конфигов на игровые и системные.
This commit is contained in:
@@ -21,7 +21,7 @@ function cavesys($text)
|
||||
}
|
||||
}
|
||||
|
||||
if (in_array($user->getRoom(), Config::$caverooms)) {
|
||||
if (in_array($user->getRoom(), CAVE_ROOMS)) {
|
||||
include("CaveItems.php");
|
||||
mysql_query('LOCK TABLES `cavebots` WRITE, `caveitems` WRITE, `shop` WRITE, `caveparties` WRITE');
|
||||
$location = mysql_fetch_array(mysql_query("SELECT `x`, `y`, `dir`, `floor` FROM `caveparties` WHERE `user` = '$user[id]' LIMIT 1"));
|
||||
|
||||
Reference in New Issue
Block a user