Дополнительный файл конфигов. Разнесение конфигов на игровые и системные.

This commit is contained in:
lopar
2021-03-10 23:03:59 +02:00
parent 32573f3e8e
commit d78b2eda34
34 changed files with 181 additions and 275 deletions
+1 -1
View File
@@ -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"));