-
-
Save appgurueu/95c65eee3b33bdeae3710c573d5dd4c9 to your computer and use it in GitHub Desktop.
minetest.dynamic_add_media heisenbug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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