Fix assignement to undeclared global variable
This commit is contained in:
parent
5da4dc87dd
commit
05eb9ab10d
2
init.lua
2
init.lua
@ -54,7 +54,7 @@ minetest.register_on_joinplayer(function(player)
|
||||
if iplus then
|
||||
inventory_plus.register_button(player,"specialties","Specialties")
|
||||
end
|
||||
name = player:get_player_name()
|
||||
local name = player:get_player_name()
|
||||
specialties.players[name] = {}
|
||||
specialties.players[name].skills = {}
|
||||
specialties.players[name].skills = specialties.readXP(name)
|
||||
|
Loading…
Reference in New Issue
Block a user