mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Restructure devtest's unittests and run them in CI (#11859)
This commit is contained in:
parent
1c5ece8334
commit
8472141b79
12 changed files with 292 additions and 75 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue