summaryrefslogtreecommitdiff
path: root/gui.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gui.lua')
-rw-r--r--gui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.lua b/gui.lua
index 198fa5a..9488eee 100644
--- a/gui.lua
+++ b/gui.lua
@@ -28,7 +28,7 @@ local function order_awards(name)
end
for _, def in pairs(awards.registered_awards) do
- if not hash_is_unlocked[def.name] then
+ if not hash_is_unlocked[def.name] and def:can_unlock(data) then
local started = false
local score
if def.secret then