Hopefully fixed audio issues fixed credits & title

This commit is contained in:
Melbyj1125
2022-05-05 22:39:55 -05:00
parent fe2116f7ec
commit 7f0b3d1269
14 changed files with 356 additions and 82 deletions

View File

@@ -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;
}