Перенос и унификация функции снятия всех предметов в класс DressedItems.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user