diff options
author | sfan5 <sfan5@live.de> | 2021-12-18 20:36:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 20:36:43 +0100 |
commit | 8472141b79c25092c90dea24aa873bd7ff792142 (patch) | |
tree | f83851a66ec4b892786ae8a398bee3e8c5228c78 /src/script/lua_api | |
parent | 1c5ece8334d050379eb99fe2ead52f9f4db44249 (diff) | |
download | minetest-8472141b79c25092c90dea24aa873bd7ff792142.tar.gz minetest-8472141b79c25092c90dea24aa873bd7ff792142.tar.bz2 minetest-8472141b79c25092c90dea24aa873bd7ff792142.zip |
Restructure devtest's unittests and run them in CI (#11859)
Diffstat (limited to 'src/script/lua_api')
-rw-r--r-- | src/script/lua_api/l_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp index 82a692070..88ab5e16b 100644 --- a/src/script/lua_api/l_server.cpp +++ b/src/script/lua_api/l_server.cpp @@ -496,7 +496,7 @@ int ModApiServer::l_dynamic_add_media(lua_State *L) CHECK_SECURE_PATH(L, filepath.c_str(), false); - u32 token = server->getScriptIface()->allocateDynamicMediaCallback(2); + u32 token = server->getScriptIface()->allocateDynamicMediaCallback(L, 2); bool ok = server->dynamicAddMedia(filepath, token, to_player, ephemeral); if (!ok) |