Browse Source

Fix hud_elem_type warning triggered by builtin minimap

Fixes a deprecation warning introduced by adaa4cc2f3c6e624b2c9ab7f40df4139b2a61c5a.
Gregor Parzefall 2 months ago
parent
commit
84dd812da4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      builtin/game/statbars.lua

+ 1 - 1
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},