diff --git a/Assets/_CompletedAssets/Scripts/Weapons/Shotgun.cs b/Assets/_CompletedAssets/Scripts/Weapons/Shotgun.cs index 67e95b5eabb03e7c92d6bfacb6b033e47b084706..87e41f1c89f357f966a7898f6bdc44a115fd6bb3 100644 --- a/Assets/_CompletedAssets/Scripts/Weapons/Shotgun.cs +++ b/Assets/_CompletedAssets/Scripts/Weapons/Shotgun.cs @@ -20,7 +20,6 @@ namespace CompleteProject Light gunLight; // Reference to the light component. public Light faceLight; // Duh float effectsDisplayTime = 0.2f; // The proportion of the timeBetweenBullets that the effects will display for. - EnemyHealth enemyHealth; // Reference to the EnemyHealth script. void Awake() { @@ -37,8 +36,6 @@ namespace CompleteProject weapon= UnityEngine.GameObject.FindGameObjectsWithTag("Shotgun")[0]; weapon2 = UnityEngine.GameObject.FindGameObjectsWithTag("Shotgun")[1]; - enemyHealth = GetComponent<EnemyHealth>(); - // UnUse weapon at init state of game UnUseWeapon();