mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-17 21:23:44 +01:00
Update HUD bar sorting
This commit is contained in:
@ -91,7 +91,7 @@ if sorting ~= nil then
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
sorting = ""
|
sorting = ""
|
||||||
hb.settings.sorting = { ["health"] = 0, ["hunger"] = 1, ["armor"] = 2, ["breath"] = 3 }
|
hb.settings.sorting = { ["health"] = 0, ["hunger"] = 1, ["armor"] = 2, ["saturation"] = 3, ["breath"] = 4, ["exhaustion"] = 5 }
|
||||||
end
|
end
|
||||||
hb.settings.sorting_reverse = {}
|
hb.settings.sorting_reverse = {}
|
||||||
for k,v in string.gmatch(sorting, "(%w+)=(%w+)") do
|
for k,v in string.gmatch(sorting, "(%w+)=(%w+)") do
|
||||||
|
Reference in New Issue
Block a user