diff options
author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2022-10-18 18:20:00 -0400 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-10-21 17:12:21 +0200 |
commit | c78d565e011125a13c1e29584c04f2b97f0d6b3e (patch) | |
tree | 40c203d640eb04a3b2523f5ee744eb68f28cf5e9 | |
parent | 8bdedd2bcf31ba9f8acd1457cfaeb652f64abf34 (diff) | |
download | minetest-c78d565e011125a13c1e29584c04f2b97f0d6b3e.tar.xz |
Fix use of unassigned global "check"
-rw-r--r-- | games/devtest/mods/unittests/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/devtest/mods/unittests/init.lua b/games/devtest/mods/unittests/init.lua index d8237e767..8e51b6d3d 100644 --- a/games/devtest/mods/unittests/init.lua +++ b/games/devtest/mods/unittests/init.lua @@ -109,7 +109,7 @@ local function wait_for_player(callback) end local function wait_for_map(player, callback) - local check = function() + local function check() if core.get_node_or_nil(player:get_pos()) ~= nil then callback() else |