mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-10-02 22:06:58 -05:00
Hopefully fixed audio issues fixed credits & title
This commit is contained in:
@@ -95,7 +95,7 @@ public class Archer : NetworkBehaviour
|
||||
if (target != null && shootingCooldown <= 0f) {
|
||||
Vector3 position = target.position;
|
||||
ShootArrowServerRPC(position);
|
||||
fireSound.Play();
|
||||
if(fireSound != null) fireSound.Play();
|
||||
shootingCooldown = 1f/ fireRate;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user