From 84dd812da4dc9d12282a2110a4e062848e2e8dd2 Mon Sep 17 00:00:00 2001 From: Gregor Parzefall Date: Mon, 19 Feb 2024 19:04:43 +0100 Subject: [PATCH] Fix hud_elem_type warning triggered by builtin minimap Fixes a deprecation warning introduced by adaa4cc2f3c6e624b2c9ab7f40df4139b2a61c5a. --- builtin/game/statbars.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/game/statbars.lua b/builtin/game/statbars.lua index 2475f9d26..5412db6be 100644 --- a/builtin/game/statbars.lua +++ b/builtin/game/statbars.lua @@ -25,7 +25,7 @@ local bar_definitions = { offset = {x = 25, y= -(48 + 24 + 16)}, }, minimap = { - hud_elem_type = "minimap", + type = "minimap", position = {x = 1, y = 0}, alignment = {x = -1, y = 1}, offset = {x = -10, y = 10},