8 Days Ago
Fixed Projectile.noheadshots not resetting when a projectile is pooled (old bug, the only issue from this I could find is relatively minor: the parameter could leak from authoritative projectiles into effect projectiles of the same type, causing incorrect visuals for effect projectiles; thankfully it could not leak the other way around) Moved the reset of some variables from Effect.Init to Effect.Clear to avoid duplicating that code into all Effect.Init overloads Fixed missing reset of the new distanceOverride in one of the Effect.Init overloads, which caused it to leak from AutoTurret arrows into player arrows Moved effect projectile gravity bypass to Projectile.noGravity