Changes to "Burst" firemode; Drozd, WT550 and C20-r (#31292)
* Initial commit * Change burst fire variable to be a set value rather than a multiplier
This commit is contained in:
@@ -157,7 +157,7 @@ public sealed partial class GunSystem : SharedGunSystem
|
||||
|
||||
var useKey = gun.UseKey ? EngineKeyFunctions.Use : EngineKeyFunctions.UseSecondary;
|
||||
|
||||
if (_inputSystem.CmdStates.GetState(useKey) != BoundKeyState.Down)
|
||||
if (_inputSystem.CmdStates.GetState(useKey) != BoundKeyState.Down && !gun.BurstActivated)
|
||||
{
|
||||
if (gun.ShotCounter != 0)
|
||||
EntityManager.RaisePredictiveEvent(new RequestStopShootEvent { Gun = GetNetEntity(gunUid) });
|
||||
|
||||
Reference in New Issue
Block a user