Update HUD bar sorting

This commit is contained in:
Wuzzy 2017-05-20 23:27:32 +02:00
parent 3dd4b0c522
commit da028a5f4c

View File

@ -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