Некоторые балансные изменения (#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:
@@ -28,9 +28,6 @@ public sealed partial class GunSystem
|
||||
if (!Timing.IsFirstTimePredicted)
|
||||
return;
|
||||
|
||||
if (!component.IsCycled)
|
||||
return;
|
||||
|
||||
EntityUid? ent = null;
|
||||
|
||||
// TODO: Combine with TakeAmmo
|
||||
@@ -39,8 +36,11 @@ public sealed partial class GunSystem
|
||||
var existing = component.Entities[^1];
|
||||
component.Entities.RemoveAt(component.Entities.Count - 1);
|
||||
|
||||
Containers.Remove(existing, component.Container);
|
||||
EnsureShootable(existing);
|
||||
if (Containers.CanRemove(existing, component.Container)) // WD EDIT
|
||||
{
|
||||
Containers.Remove(existing, component.Container);
|
||||
EnsureShootable(existing);
|
||||
}
|
||||
}
|
||||
else if (component.UnspawnedCount > 0)
|
||||
{
|
||||
@@ -54,6 +54,5 @@ public sealed partial class GunSystem
|
||||
|
||||
var cycledEvent = new GunCycledEvent();
|
||||
RaiseLocalEvent(uid, ref cycledEvent);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user