mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-22 23:33:45 +01:00
another bug fix
This commit is contained in:
parent
4781aed51f
commit
3b845c0d81
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user