Skip to content

Commit

Permalink
Replace deprecated hud_elem_type field in main HUD
Browse files Browse the repository at this point in the history
  • Loading branch information
Emojigit committed Jul 2, 2024
1 parent 2deb677 commit f6aacf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ minetest.register_globalstep(function(dtime)
hud = {}
areas.hud[name] = hud
hud.areasId = player:hud_add({
hud_elem_type = "text",
type = "text",
name = "Areas",
number = 0xFFFFFF,
position = {x=0, y=1},
Expand Down

0 comments on commit f6aacf6

Please sign in to comment.