Skip to content

Commit

Permalink
Merge pull request #48 from ArchangelWTF/fix/ObservedFirearmControlle…
Browse files Browse the repository at this point in the history
…r-exception

Fix constructor exception in CoopObservedFirearmController
  • Loading branch information
Lacyway authored May 18, 2024
2 parents e56ecab + 6907d9b commit d598014
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class CoopObservedFirearmController : FirearmController
public CoopPlayer coopPlayer;
bool triggerPressed = false;
bool needsReset = false;
float lastFireTime = Time.time;
float lastFireTime = 0f;
public override bool IsTriggerPressed => triggerPressed;
private float overlapCounter = 0f;
private float aimMovementSpeed = 1f;
Expand Down

0 comments on commit d598014

Please sign in to comment.