Перенос и унификация функции снятия всех предметов в класс DressedItems.

This commit is contained in:
lopar
2021-03-11 20:58:38 +02:00
parent 3f22c6664a
commit c54b97681b
12 changed files with 24 additions and 25 deletions
+2 -2
View File
@@ -104,8 +104,8 @@ if ($user['battle'] > 0) {
}
if(rand(0,100)<80)
undressall($jert['id']);
undressall($user['id']);
\Battles\DressedItems::undressAllItems($jert['id']);
\Battles\DressedItems::undressAllItems($user['id']);
$teams = array();
$teams[$user['id']][$jert['id']] = array(0,0,time());
$teams[$jert['id']][$user['id']] = array(0,0,time());