1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-01 15:40:23 +02:00

Fix HUD image (waypoint) docs

This commit is contained in:
Lars Müller
2024-01-10 19:32:49 +01:00
committed by GitHub
parent 4bf95703a0
commit 7bae8ab838
2 changed files with 14 additions and 9 deletions

View File

@ -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