From 81f0f39d61978dc0c518e9f7652d86864f59b182 Mon Sep 17 00:00:00 2001
From: jasonrivalino <13521008@std.stei.itb.ac.id>
Date: Sat, 11 May 2024 13:45:46 +0700
Subject: [PATCH] chore: remove unused variable

---
 Assets/_CompletedAssets/Scripts/Weapons/Shotgun.cs | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Assets/_CompletedAssets/Scripts/Weapons/Shotgun.cs b/Assets/_CompletedAssets/Scripts/Weapons/Shotgun.cs
index 67e95b5e..87e41f1c 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();
 
-- 
GitLab