mirror of
https://github.com/minetest-mods/i3.git
synced 2025-04-16 01:20:42 +02: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
|
||||||
|
|
||||||

|

|
||||||
|
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…
x
Reference in New Issue
Block a user