1
0
Fork 0
MineClone2/mods
Nils Dagsson Moskopp 6e3f22c1ca Fix handheld maps not displaying in Minetest 5.5.0
The function dynamic_add_media() was changed in incompatible ways in
several minor versions of Minetest, breaking the display of handheld
maps in Minetest 5.5.0. This patch makes handheld maps display there.

The function was blocking with one argument in Minetest 5.3. It was also
blocking in Minetest 5.4, but took an additional argument for a function
to execute once the media had been received. Calling dynamic_add_media()
with a single argument had been deprecated; a function that did nothing
was provided in mcl_maps to satisfy the changed argument requirements.

In Minetest 5.5, dynamic_add_media() was changed to non-blocking. This
introduced a race condition in mcl_maps, where a client often tried to
display a map before it had received the map texture from the server.

Opening an issue on the Minetest issue tracker led to it being closed in
about 20 minutes: <https://github.com/minetest/minetest/issues/11997>
2022-03-08 23:16:54 +01:00
..
CORE mcl_explosions 2022-03-08 23:16:53 +01:00
ENTITIES mcl_mobs 2022-03-08 23:16:54 +01:00
ENVIRONMENT mcl_weather 2022-03-08 23:16:54 +01:00
HELP add translate for `doc_identifier` 2022-03-08 23:16:53 +01:00
HUD mcl_inventory 2022-03-08 23:16:54 +01:00
ITEMS Fix handheld maps not displaying in Minetest 5.5.0 2022-03-08 23:16:54 +01:00
MAPGEN mcl_structures 2022-03-08 23:16:54 +01:00
MISC mcl_commands 2022-03-08 23:16:54 +01:00
PLAYER mcl_skins 2022-03-08 23:16:54 +01:00