Skip to content
Snippets Groups Projects
Commit 6c790ca9 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

Revert isItemAvailable change

parent 84796e1d
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ globalThis.isItemAccessible = (function() { ...@@ -34,7 +34,7 @@ globalThis.isItemAccessible = (function() {
function array(map, filter, filterValue) { function array(map, filter, filterValue) {
const array = []; const array = [];
for (const [key, obj] of map) { for (const [key, obj] of map) {
if (filter && filterValue !== (obj[filter])) { if (filter && filterValue !== (obj[filter] || false)) {
continue; continue;
} }
if (V.cheatMode || isAvailable(obj)) { if (V.cheatMode || isAvailable(obj)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment