From 8505b3c8670163a9941719b629327990594d547f Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Sat, 24 Jul 2021 21:29:19 +0100 Subject: [PATCH] fix not retrieving after first time --- .../ProbeLauncherTool/WorldObjects/QSBProbeLauncher.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/QSB/Tools/ProbeLauncherTool/WorldObjects/QSBProbeLauncher.cs b/QSB/Tools/ProbeLauncherTool/WorldObjects/QSBProbeLauncher.cs index 249e77d9..e68d4218 100644 --- a/QSB/Tools/ProbeLauncherTool/WorldObjects/QSBProbeLauncher.cs +++ b/QSB/Tools/ProbeLauncherTool/WorldObjects/QSBProbeLauncher.cs @@ -8,7 +8,6 @@ namespace QSB.Tools.ProbeLauncherTool.WorldObjects { class QSBProbeLauncher : WorldObject { - private bool _isRetrieving; private float _probeRetrievalLength; private GameObject _preLaunchProbeProxy; private ProbeLauncherEffects _effects; @@ -27,10 +26,6 @@ namespace QSB.Tools.ProbeLauncherTool.WorldObjects public void RetrieveProbe(bool playEffects) { DebugLog.DebugWrite($"{ObjectId} ({AttachedObject.name}) RETRIEVE"); - if (_isRetrieving) - { - return; - } _preLaunchProbeProxy.SetActive(true); if (playEffects) @@ -38,7 +33,6 @@ namespace QSB.Tools.ProbeLauncherTool.WorldObjects _effects.PlayRetrievalClip(); _probeRetrievalEffect.WarpObjectIn(_probeRetrievalLength); } - _isRetrieving = true; } } }