mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 13:23:05 +00:00
fix not retrieving after first time
This commit is contained in:
parent
1e4c0048c6
commit
8505b3c867
@ -8,7 +8,6 @@ namespace QSB.Tools.ProbeLauncherTool.WorldObjects
|
||||
{
|
||||
class QSBProbeLauncher : WorldObject<ProbeLauncher>
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user