Skip to content

Commit

Permalink
Remove impulse from unit gibs
Browse files Browse the repository at this point in the history
  • Loading branch information
ForbodingAngel committed Jul 30, 2014
1 parent 0c719cc commit 8c1fd09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LuaRules/Gadgets/engine_hotfixes.lua
Expand Up @@ -53,7 +53,7 @@ if gadgetHandler:IsSyncedCode() then
--Remove damage hardcoded in the engine of gibbed pieces of units (hardcoded to 50 damage in engine)
function gadget:UnitPreDamaged(unitID, unitDefID, unitTeam, damage, paralyzer, weaponDefID, projectileID, attackerID, attackerDefID, attackerTeam)
if weaponDefID == -1 then
return 0
return 0, 0
end
return damage
end
Expand Down

0 comments on commit 8c1fd09

Please sign in to comment.