aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/unittests/misc.lua
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-07-04 01:06:42 +0200
committerGitHub <noreply@github.com>2022-07-04 01:06:42 +0200
commitfc3460470aec8d73317d2b35edf195bfeec2852c (patch)
treeacfee4e29064b04726bb65b1e0cf026c82834e28 /games/devtest/mods/unittests/misc.lua
parent34f15259fa5546dc9abaf974ca5385c276443697 (diff)
downloadhax-minetest-server-fc3460470aec8d73317d2b35edf195bfeec2852c.tar.gz
hax-minetest-server-fc3460470aec8d73317d2b35edf195bfeec2852c.zip
Add missing item alias metatables to async environment (#12458)
Diffstat (limited to '')
-rw-r--r--games/devtest/mods/unittests/misc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/devtest/mods/unittests/misc.lua b/games/devtest/mods/unittests/misc.lua
index 4b53004b1..9ddb07061 100644
--- a/games/devtest/mods/unittests/misc.lua
+++ b/games/devtest/mods/unittests/misc.lua
@@ -24,7 +24,7 @@ local function test_dynamic_media(cb, player)
to_player = player:get_player_name(),
}, function(name)
if not call_ok then
- cb("impossible condition")
+ return cb("impossible condition")
end
cb()
end)