Fixed OnBroken & OnImpact statuseffects not being applied client-side
This commit is contained in:
@@ -960,6 +960,7 @@ namespace Barotrauma
|
||||
if (ImpactTolerance > 0.0f && impact > ImpactTolerance)
|
||||
{
|
||||
ApplyStatusEffects(ActionType.OnImpact, 1.0f);
|
||||
GameMain.Server?.CreateEntityEvent(this, new object[] { NetEntityEvent.Type.ApplyStatusEffect, ActionType.OnImpact });
|
||||
}
|
||||
|
||||
var containedItems = ContainedItems;
|
||||
|
||||
Reference in New Issue
Block a user