Skip to content

Instantly share code, notes, and snippets.

@appgurueu
Created January 9, 2022 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save appgurueu/95c65eee3b33bdeae3710c573d5dd4c9 to your computer and use it in GitHub Desktop.
Save appgurueu/95c65eee3b33bdeae3710c573d5dd4c9 to your computer and use it in GitHub Desktop.
minetest.dynamic_add_media heisenbug
minetest.after(0, function()
assert(#minetest.get_connected_players() == 0)
minetest.dynamic_add_media({
filepath = minetest.get_modpath("testmod") .. "/dynamic_textures/yay.png"
}, function(name)
error(name .. " received media despite not being connected")
end)
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment