Ещё немного уборки мусора.

This commit is contained in:
lopar
2020-08-30 19:28:15 +03:00
parent c5a7dc4b58
commit 83832ecd2c
34 changed files with 458 additions and 636 deletions

View File

@@ -24,9 +24,9 @@ if ($user['battle'] > 0) {
echo "Бой закрыт для вмешательства!";
} elseif ($user['zayavka'] > 0) {
echo "Вы ожидаете поединка...";
} elseif (in_array($us['room'], $unkilable['rooms'])) {
} elseif (in_array($us['room'], Config::$unkilable['rooms'])) {
echo "В данной комнате запрещены нападения ...";
} elseif (in_array($us['id'], $unkilable['users'])) {
} elseif (in_array($us['id'], Config::$unkilable['users'])) {
echo "Персонаж под защитой от нападений ...";
} elseif (isset($effect['id'])) {
echo "Персонаж под защитой от нападений ...";