From fc3460470aec8d73317d2b35edf195bfeec2852c Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 4 Jul 2022 01:06:42 +0200 Subject: Add missing item alias metatables to async environment (#12458) --- games/devtest/mods/unittests/misc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games/devtest/mods/unittests/misc.lua') 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) -- cgit v1.2.3