This commit is contained in:
Rubenwardy 2013-02-22 19:16:30 +00:00
parent d2ba1d7c0f
commit 6bd01c2589
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ minetest.register_on_dignode(function(pos, oldnode, digger)
data['unlocked']={}
end
if res~=nil and (not data['unlocked'][res] or data['unlocked'][res]==false) then
data['unlocked'][res]=true
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
end