mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Fix enum element name in Lua HUD code (position vs. pos)
This commit is contained in:
parent
2902a29c2d
commit
767b2e7b17
@ -43,7 +43,8 @@ struct EnumString es_HudElementType[] =
|
||||
|
||||
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_SCALE, "scale"},
|
||||
{HUD_STAT_TEXT, "text"},
|
||||
|
Loading…
Reference in New Issue
Block a user