diff options
author | Rubenwardy <anjayward@gmail.com> | 2013-02-22 19:23:37 +0000 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2013-02-22 19:23:37 +0000 |
commit | 3b845c0d81ab836647a772732179c4fe6b6f1a17 (patch) | |
tree | e172ef8bf7046717cab90850a73070d9245a4442 /triggers.lua | |
parent | 4781aed51f24677709460215dbda65a122f2894f (diff) |
another bug fix
Diffstat (limited to 'triggers.lua')
-rw-r--r-- | triggers.lua | 2 |
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 |