Skip to content

Commit

Permalink
Merge pull request #440 from yoseij/patch-1
Browse files Browse the repository at this point in the history
Update acfarmorprop.lua to fix primitives
  • Loading branch information
thecraftianman authored Dec 6, 2024
2 parents 82470af + bd2b615 commit 7e68b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/weapons/gmod_tool/stools/acfarmorprop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ else -- Serverside-only stuff
local ArmorMod = EntMods and EntMods.ACF_Armor

UpdateArmor(_, Entity, ArmorMod)
Properties.mass = nil -- Don't let the primitive reset its own mass
Properties.mass = Entity.ACF.Mass -- Don't let the primitive reset its own mass, use ACF mass instead
end)

duplicator.RegisterEntityModifier("acfsettings", function(_, Entity, Data)
Expand Down

0 comments on commit 7e68b8c

Please sign in to comment.