Skip to content

Commit

Permalink
wip try fixing lazur glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
toberge committed Dec 30, 2024
1 parent 8acb19b commit 9d6a70a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Augment/AugmentImplementations/Revolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected override void Reload(GunStats stats)

isReloadInProgress = true;
animator.SetTrigger("Reload");
gunController.onReload?.Invoke(stats);
// gunController.onReload?.Invoke(stats);
}

public void TriggerSteam()
Expand Down
2 changes: 2 additions & 0 deletions Assets/Scripts/Augment/GunController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ private void FixedUpdate()
}
if (ShouldFire())
{
isFiring = true;
FireGun();
}
}
Expand Down Expand Up @@ -209,6 +210,7 @@ private void RpcFire(Quaternion rotation)
}
catch (Exception e)
{
isFiring = false;
Debug.LogError("Failed to fire gun!");
Debug.LogError(e);
}
Expand Down

0 comments on commit 9d6a70a

Please sign in to comment.