minor fix to armor.config.level_multiplier

So as to not override all armor items to 0.2
master
Sirrobzeroone 2020-12-13 21:48:51 +11:00
parent 60ae8faae1
commit cb812fb824
1 changed files with 0 additions and 2 deletions

View File

@ -57,8 +57,6 @@ local d_fall_anim = 0 -- Stop fall animat
if add_capes == true then
if minetest.global_exists("armor") and armor.elements then
table.insert(armor.elements, "capes")
local mult = armor.config.level_multiplier or 1
armor.config.level_multiplier = mult * 0.2
end
end