fix undeclared global

master
flux 2019-09-11 01:26:48 +00:00
parent 362a8ccf9f
commit 6f25e31ff9
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ local function safe(func)
return f
end
local set_my_name_tries = 0
local set_my_name = safe(function()
if minetest.localplayer then
my_name = minetest.localplayer:get_name()