mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Separate ephemeral from client caching in core.dynamic_add_media()
This commit is contained in:
parent
0b66465f33
commit
5672b93007
5 changed files with 9 additions and 4 deletions
|
@ -52,6 +52,7 @@ local function test_dynamic_media(cb, player)
|
|||
local ok = core.dynamic_add_media({
|
||||
filepath = path,
|
||||
to_player = player:get_player_name(),
|
||||
client_cache = false,
|
||||
}, function(name)
|
||||
if not call_ok then
|
||||
return cb("impossible condition")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue