Очистка ненужного функционала. #49 #51

This commit is contained in:
2023-06-13 03:44:13 +03:00
parent f49f8cd08d
commit 5e06f5e136
24 changed files with 153 additions and 722 deletions
+4 -6
View File
@@ -1552,12 +1552,10 @@ class Dungeon
'SELECT * FROM `dungeon_actions` WHERE `uid` = "' . $u->info['id'] . '" AND `dn` = "' . $this->info['id'] . '" AND `vars` = "luck_itm' . $pl['id'] . '" LIMIT 1'
)
);
if (!isset($fxv['id'])) {
//Розыгрыш
if ($this->info['bsid'] == 0) {
$action = 'javascript: top.fartgame(\'' . $pl['id'] . '\',\'' . $pl['img'] . '\',\'' . $pl['name'] . '\',1,\'\');';
$tk = 1;
}
//Розыгрыш
if (!isset($fxv['id']) && $this->info['bsid'] == 0) {
$action = "javascript: top.fartgame('{$pl['id']}', '{$pl['img']}', '{$pl['name']}')";
$tk = 1;
}
}
if ($tk == 0) {