Alpha-v0.0.2a #1

Closed
thunderdog1138 wants to merge 321 commits from Alpha-v0.0.2a into master
1 changed files with 5 additions and 0 deletions
Showing only changes of commit aaafc54e9d - Show all commits

View File

@ -273,6 +273,11 @@ armor.set_player_armor = function(self, player)
if use_armor_monoid then
armor_monoid.monoid:add_change(player, change, "3d_armor:armor")
else
-- Preserve immortal group (damage disabled for player)
local immortal = player:get_armor_groups().immortal
if immortal and immortal ~= 0 then
groups.immortal = 1
end
player:set_armor_groups(groups)
end
if use_player_monoids then