Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxup committed Feb 22, 2024
1 parent aa2c871 commit 69e72d5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Content.Server/Explosion/EntitySystems/ExplosionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,15 @@ public override void Shutdown()
_pathfindingSystem.PauseUpdating = false;
}

//start-backmen:blob
// start-backmen: blob
public void SetExplosionResistance(EntityUid entityUid, float newCoefficient, ExplosionResistanceComponent? component = null)
{
if (!Resolve(entityUid, ref component))
return;

component.DamageCoefficient = newCoefficient;

Dirty(entityUid, component);
}
//end-backmen:blob
// end-backmen: blob

private void RelayedResistance(EntityUid uid, ExplosionResistanceComponent component,
InventoryRelayedEvent<GetExplosionResistanceEvent> args)
Expand Down

0 comments on commit 69e72d5

Please sign in to comment.