summaryrefslogtreecommitdiff
path: root/triggers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'triggers.lua')
-rw-r--r--triggers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/triggers.lua b/triggers.lua
index e19e1e2..3971c21 100644
--- a/triggers.lua
+++ b/triggers.lua
@@ -54,7 +54,7 @@ minetest.register_on_dignode(function(pos, oldnode, digger)
data['unlocked']={}
end
- if res~=nil and (not data['unlocked'][res] or data['unlocked'][res]==res) then
+ if res~=nil and (not data['unlocked'][res] or data['unlocked'][res]~=res) then
data['unlocked'][res]=res
minetest.chat_send_player(playern, "Achievement Unlocked: "..res)
end