предметы не отображались

This commit is contained in:
Igor Barkov (iwork) 2020-07-21 14:58:06 +03:00
parent 15c444574a
commit e21fb58717

View File

@ -75,6 +75,7 @@ class User
//https://jsfiddle.net/ngx0yvhc
$di = new DressedItems($this->id);
$dressedItems = $di->getItemsInSlots();
echo var_dump($dressedItems);
for ($i = 1; $i <= 12; $i++) {
echo sprintf('<div class="slot-%s">', $i);
if (isset($di->$dressedItems[$i])) {