Перенос и унификация функции снятия всех предметов в класс DressedItems.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
if ($user['battle'] > 0) {
|
||||
echo "Не в бою...";
|
||||
} elseif (rand(1, 100) != 1) {
|
||||
undressall($user['id']);
|
||||
\Battles\DressedItems::undressAllItems($user['id']);
|
||||
$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"));
|
||||
if (empty($_SESSION['uid'])) {
|
||||
header("Location: index.php");
|
||||
|
||||
Reference in New Issue
Block a user