Некоторые балансные изменения (#72)
* - balance: Chainsaw can only be crafted using advanced saw.
* - balance: Tweak some melee weapon damage and sizes.
* - balance: Tweak stun baton.
* - balance: No flash heavy attack.
* - balance: Tweak modifier sets.
* - tweak: Stunprod and snatcherprod tweaks.
* - tweak: Auto cycle tweaks.
* - balance: Nerf flamethrower.
* - tweak: Remove old stunprod construction.
* - balance: Tweak shotgun ammo.
* - tweak: Cartridge ejecting tweaks.
* - fix: Fix stunprod held prefix.
* Revert "Makes external & shuttle airlocks bump-openable (#22706)"
This reverts commit 6a73aed6d5.
* - balance: Tweak modifier sets once again.
* - balance: Tweak IED timer.
* - tweak: Chemical explosions can't create vacuum.
This commit is contained in:
@@ -179,10 +179,12 @@ public sealed partial class GunSystem : SharedGunSystem
|
||||
{
|
||||
userImpulse = false;
|
||||
Audio.PlayPredicted(gun.SoundEmpty, gunUid, user);
|
||||
break; // WD EDIT
|
||||
}
|
||||
|
||||
// Something like ballistic might want to leave it in the container still
|
||||
if (!cartridge.DeleteOnSpawn && !Containers.IsEntityInContainer(ent!.Value))
|
||||
if (!cartridge.DeleteOnSpawn && !Containers.IsEntityInContainer(ent!.Value) &&
|
||||
(!TryComp(gunUid, out BallisticAmmoProviderComponent? ballistic) || ballistic.AutoCycle)) // WD EDIT
|
||||
EjectCartridge(ent.Value, angle);
|
||||
|
||||
Dirty(ent!.Value, cartridge);
|
||||
|
||||
Reference in New Issue
Block a user