Fix waypoint again (shit)

This commit is contained in:
Jean-Patrick Guerrero 2021-04-20 03:27:37 +02:00
parent 7c5c6f38f2
commit ecda62fc2f
2 changed files with 2 additions and 2 deletions

View File

@ -46,6 +46,6 @@ Report any bug on the [**Bug Tracker**](https://github.com/minetest-mods/i3/issu
Love this mod? Donations are appreciated: https://www.paypal.me/jpg84240 Love this mod? Donations are appreciated: https://www.paypal.me/jpg84240
Demo video: https://www.youtube.com/watch?v=25nCAaqeacU Demo video (outdated): https://www.youtube.com/watch?v=25nCAaqeacU
![Preview](https://user-images.githubusercontent.com/7883281/115294125-7827cb80-a158-11eb-89f1-1f533621a9fe.png) ![Preview](https://user-images.githubusercontent.com/7883281/115294125-7827cb80-a158-11eb-89f1-1f533621a9fe.png)

View File

@ -2579,7 +2579,7 @@ i3.new_tab {
elseif action == "refresh" then elseif action == "refresh" then
local color = random(0xffffff) local color = random(0xffffff)
waypoint.color = color waypoint.color = color
player:hud_change(id, "number", color) player:hud_change(waypoint.id, "number", color)
elseif action == "hide" then elseif action == "hide" then
if waypoint.hide then if waypoint.hide then