mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix enum element name in Lua HUD code (position vs. pos)
This commit is contained in:
@@ -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"},
|
||||||
|
Reference in New Issue
Block a user