mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix use of unassigned global "check"
This commit is contained in:
parent
8bdedd2bcf
commit
c78d565e01
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ local function wait_for_player(callback)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function wait_for_map(player, callback)
|
local function wait_for_map(player, callback)
|
||||||
local check = function()
|
local function check()
|
||||||
if core.get_node_or_nil(player:get_pos()) ~= nil then
|
if core.get_node_or_nil(player:get_pos()) ~= nil then
|
||||||
callback()
|
callback()
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue