From 7299b292a7f7e755643aee3750d4730cda2bfaa0 Mon Sep 17 00:00:00 2001 From: Noah4ever <66632359+Noah4ever@users.noreply.github.com> Date: Tue, 16 Nov 2021 13:06:10 +0100 Subject: [PATCH] Weapon switching --- Assets/Scripts/Weapons/WeaponManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Weapons/WeaponManager.cs b/Assets/Scripts/Weapons/WeaponManager.cs index e628fa2..a0cdaea 100644 --- a/Assets/Scripts/Weapons/WeaponManager.cs +++ b/Assets/Scripts/Weapons/WeaponManager.cs @@ -36,7 +36,7 @@ public class WeaponManager : NetworkBehaviour currentWeaponIndex--; } counter++; - Debug.Log(activeWeapons[currentWeaponIndex]); + //Debug.Log(activeWeapons[currentWeaponIndex]); } while (activeWeapons[currentWeaponIndex] == null); } else if (Input.GetAxis("Mouse ScrollWheel") < 0f){ // Scroll down @@ -51,7 +51,7 @@ public class WeaponManager : NetworkBehaviour currentWeaponIndex++; } counter++; - Debug.Log(activeWeapons[currentWeaponIndex]); + //Debug.Log(activeWeapons[currentWeaponIndex]); } while (activeWeapons[currentWeaponIndex] == null); }