1
0
Fork 0
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:
sfan5 2025-08-26 16:34:50 +02:00
parent 0b66465f33
commit 5672b93007
5 changed files with 9 additions and 4 deletions

View file

@ -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")