Disposable turret explodes when empty (#18175)
* turret go boom * fix ammo * universal function name * Also explodes when destroyed * comment added * Triggerwhenemptycomponent added * comment adjusted * Updated uplink description * Moved to own event file * file namespace * rerun tests --------- Co-authored-by: Slava0135 <super.novalskiy_0135@inbox.ru>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace Content.Shared.Weapons.Ranged.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised directed on the gun when trying to fire it while it's out of ammo
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct OnEmptyGunShotEvent(EntityUid EmptyGun);
|
||||
Reference in New Issue
Block a user