Skip to content

Commit

Permalink
lets just disable all client predicted ammo and see what happens
Browse files Browse the repository at this point in the history
  • Loading branch information
InvalidArgument3 committed Oct 7, 2024
1 parent 6ce735b commit a076e1c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,8 @@ internal AmmoConstants(WeaponSystem.AmmoType ammo, WeaponDefinition wDef, Weapon
var predictedShotLimit = system.PartType != HardwareDef.HardwareType.HandWeapon ? 120 : 450;
var predictedReloadLimit = system.PartType != HardwareDef.HardwareType.HandWeapon ? 120 : 60;

ClientPredictedAmmo = predictionEligible && FixedFireAmmo && !fragHasAutonomy && !ammo.IsShrapnel && RealShotsPerMin <= predictedShotLimit && !clientPredictedAmmoDisabled;
//ClientPredictedAmmo = false; //should check here in the future for CTC, customturret, rotorturret bullshit
//ClientPredictedAmmo = predictionEligible && FixedFireAmmo && !fragHasAutonomy && !ammo.IsShrapnel && RealShotsPerMin <= predictedShotLimit && !clientPredictedAmmoDisabled;
ClientPredictedAmmo = false; //should check here in the future for CTC, customturret, rotorturret bullshit

if (!ClientPredictedAmmo && predictionEligible)
Log.Line($"{ammo.AmmoDef.AmmoRound} is NOT enabled for client prediction");
Expand Down

0 comments on commit a076e1c

Please sign in to comment.