mirror of
https://github.com/minetest-mods/i3.git
synced 2024-12-27 19:30:40 +01:00
Fix waypoint again (shit)
This commit is contained in:
parent
7c5c6f38f2
commit
ecda62fc2f
@ -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)
|
||||||
|
2
init.lua
2
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user