mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Fix WeaponRandomSystem overriding bonus damage (#45335)
Fix weaponRandomSystem overriding bonus damage
This commit is contained in:
parent
786f95099c
commit
41da2ebaa4
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ public sealed partial class WeaponRandomSystem : EntitySystem
|
|||
if (_random.Prob(component.RandomDamageChance))
|
||||
{
|
||||
_audio.PlayPvs(component.DamageSound, uid);
|
||||
args.BonusDamage = component.DamageBonus;
|
||||
args.BonusDamage += component.DamageBonus;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue