Compare commits
No commits in common. "3f22c6664ae29b3f10fe3ea036e8f61c58873b59" and "a5d13d7e746fd3dc3ad33ca84de2b7f41f49ecd7" have entirely different histories.
3f22c6664a
...
a5d13d7e74
@ -500,8 +500,7 @@ function ref_drop()
|
||||
$user = db::c()->query('SELECT `sergi`,`kulon`,`weap`,`bron`,`r1`,`r2`,`r3`,`helm`,`perchi`,`shit`,`boots`,`m1`,`m2`,`m3`,`m4`,`m5`,`m6`,`m7`,`m8`,`m9`,`m10` FROM `users` WHERE id = ?i', $_SESSION['uid'])->fetch_assoc();
|
||||
for ($i = 0; $i <= 20; $i++) {
|
||||
if ($user[$slot[$i]] && !derj($user[$slot[$i]])) {
|
||||
$item = new \Battles\DressedItems($_SESSION['uid']);
|
||||
$item->undressItem($i + 1);
|
||||
dropitem($i + 1);
|
||||
$user[$slot[$i]] = null;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user