mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Fix HUD image (waypoint) docs
This commit is contained in:
parent
4bf95703a0
commit
7bae8ab838
2 changed files with 14 additions and 9 deletions
|
@ -152,7 +152,8 @@ minetest.register_chatcommand("hudwaypoints", {
|
|||
type = "image_waypoint",
|
||||
text = "testhud_waypoint.png",
|
||||
world_pos = player:get_pos(),
|
||||
scale = {x = 3, y = 3},
|
||||
-- 20% of screen width, 3x image height
|
||||
scale = {x = -20, y = 3},
|
||||
offset = {x = 0, y = -32}
|
||||
}
|
||||
if not player_waypoints[name] then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue