Add gas tanks throw damage (#20035)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
committed by
GitHub
parent
fe2672744f
commit
5b55b9ce3b
@@ -43,7 +43,7 @@ namespace Content.Shared.Throwing
|
||||
component.ThrownTime ??= _gameTiming.CurTime;
|
||||
}
|
||||
|
||||
private void ThrowItem(EntityUid uid, ThrownItemComponent component, ThrownEvent args)
|
||||
private void ThrowItem(EntityUid uid, ThrownItemComponent component, ref ThrownEvent @event)
|
||||
{
|
||||
if (!EntityManager.TryGetComponent(uid, out FixturesComponent? fixturesComponent) ||
|
||||
fixturesComponent.Fixtures.Count != 1 ||
|
||||
|
||||
Reference in New Issue
Block a user