master #5

Merged
NO11 merged 42 commits from VoxeLibre/VoxeLibre:master into master 2021-08-11 17:38:46 +02:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 4aabd7d9e7 - Show all commits

View File

@ -35,13 +35,13 @@ local function potions_init_icons(player)
local name = player:get_player_name()
icon_ids[name] = {}
for e=1, EFFECT_TYPES do
local x = -7 + -38 * e
local x = -52 * e - 2
local id = player:hud_add({
hud_elem_type = "image",
text = "blank.png",
position = { x = 1, y = 0 },
offset = { x = x, y = 272 },
scale = { x = 2, y = 2 },
offset = { x = x, y = 3 },
scale = { x = 3, y = 3 },
alignment = { x = 1, y = 1 },
z_index = 100,
})