Перенос и унификация функции снятия всех предметов в класс DressedItems.
This commit is contained in:
+2
-2
@@ -117,8 +117,8 @@ if ($user['battle'] > 0) {
|
||||
mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','83','','" . $jert['hp'] . "');");
|
||||
$jert['id'] = mysql_insert_id();
|
||||
}
|
||||
undressall($jert['id']);
|
||||
undressall($user['id']);
|
||||
\Battles\DressedItems::undressAllItems($jert['id']);
|
||||
\Battles\DressedItems::undressAllItems($user['id']);
|
||||
$teams = [];
|
||||
$teams[$user['id']][$jert['id']] = [0, 0, time()];
|
||||
$teams[$jert['id']][$user['id']] = [0, 0, time()];
|
||||
|
||||
Reference in New Issue
Block a user