From c78d565e011125a13c1e29584c04f2b97f0d6b3e Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Tue, 18 Oct 2022 18:20:00 -0400 Subject: [PATCH] Fix use of unassigned global "check" --- games/devtest/mods/unittests/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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