mirror of
https://github.com/MinetestForFun/quests.git
synced 2025-01-26 09:50:32 +01:00
Fix bad HUD function name
This commit is contained in:
parent
e8305e38e9
commit
4a93e351f3
2
hud.lua
2
hud.lua
@ -29,7 +29,7 @@ end
|
|||||||
-- Supplied positions may be `nil` and will be skipped.
|
-- Supplied positions may be `nil` and will be skipped.
|
||||||
-- @note Calling this function while quests are already displayed will result
|
-- @note Calling this function while quests are already displayed will result
|
||||||
-- in undefined behaviour. Call it beforehand.
|
-- in undefined behaviour. Call it beforehand.
|
||||||
function quests.set_hud_position(x, y)
|
function quests.set_hud_offset(x, y)
|
||||||
hud_config.offset.x = x or hud_config.offset.x
|
hud_config.offset.x = x or hud_config.offset.x
|
||||||
hud_config.offset.y = y or hud_config.offset.y
|
hud_config.offset.y = y or hud_config.offset.y
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user