diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-04-05 17:00:41 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-04-05 17:00:48 +0100 |
commit | e110bbbc7a8dea47b9ed536fcd31dc21169c6bd6 (patch) | |
tree | 841cf9f4087ce61619fb698ba627dcaf69ab4b8a /gui.lua | |
parent | 2f49d895ed9b9bea22e8937a4396560e2941d6de (diff) |
Add award unlock requirements
Fixes #52
Diffstat (limited to 'gui.lua')
-rw-r--r-- | gui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |