mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-22 04:33:44 +01:00
Fix armor radiation values were not not summed up (#139)
This commit is contained in:
parent
7bd77a7b80
commit
20917da061
@ -415,7 +415,7 @@ armor.set_player_armor = function(self, player)
|
||||
end
|
||||
-- DEPRECATED, use armor_groups instead
|
||||
if def.groups["armor_radiation"] and levels["radiation"] then
|
||||
levels["radiation"] = def.groups["armor_radiation"]
|
||||
levels["radiation"] = levels["radiation"] + def.groups["armor_radiation"]
|
||||
end
|
||||
end
|
||||
local item = stack:get_name()
|
||||
|
Loading…
Reference in New Issue
Block a user