From b7092d32df90d40ecb53dccc5d6f94be2e423d8f Mon Sep 17 00:00:00 2001
From: Henry <henrytshotwell@gmail.com>
Date: Wed, 20 Mar 2024 18:11:34 -0400
Subject: [PATCH] Extinguishing bugs

---
 Assets/Scenes/TestMovement.unity       | 2 +-
 Assets/Scripts/Objects/Extinguisher.cs | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Assets/Scenes/TestMovement.unity b/Assets/Scenes/TestMovement.unity
index 5f2e147..ccc2209 100644
--- a/Assets/Scenes/TestMovement.unity
+++ b/Assets/Scenes/TestMovement.unity
@@ -3259,7 +3259,7 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 5943070958037994730, guid: d6f71a072d0de754da29b25411179453, type: 3}
       propertyPath: activeSpeed
-      value: 9999
+      value: 10
       objectReference: {fileID: 0}
     m_RemovedComponents: []
     m_RemovedGameObjects: []
diff --git a/Assets/Scripts/Objects/Extinguisher.cs b/Assets/Scripts/Objects/Extinguisher.cs
index 59bccbb..100249b 100644
--- a/Assets/Scripts/Objects/Extinguisher.cs
+++ b/Assets/Scripts/Objects/Extinguisher.cs
@@ -35,8 +35,7 @@ void Update()
         if (lifetime > 0f) 
         { 
             lifetime -= Time.deltaTime; 
-            myBod.velocity = transform.forward * currentRandomTime;
-            Debug.Log(myBod.velocity);
+            myBod.velocity = transform.forward * activeSpeed;
             if (lifetime <= 0f) 
             {
                 myBod.useGravity = true; 
-- 
GitLab