mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix enum element name in Lua HUD code (position vs. pos)
This commit is contained in:
parent
2902a29c2d
commit
767b2e7b17
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ struct EnumString es_HudElementType[] =
|
||||||
|
|
||||||
struct EnumString es_HudElementStat[] =
|
struct EnumString es_HudElementStat[] =
|
||||||
{
|
{
|
||||||
{HUD_STAT_POS, "pos"},
|
{HUD_STAT_POS, "position"},
|
||||||
|
{HUD_STAT_POS, "pos"}, /* Deprecated, only for compatibility's sake */
|
||||||
{HUD_STAT_NAME, "name"},
|
{HUD_STAT_NAME, "name"},
|
||||||
{HUD_STAT_SCALE, "scale"},
|
{HUD_STAT_SCALE, "scale"},
|
||||||
{HUD_STAT_TEXT, "text"},
|
{HUD_STAT_TEXT, "text"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue