mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 13:23:05 +00:00
initialize scan beams in Awake so it isnt null on OnFinishUnequipAnimation
This commit is contained in:
parent
bd6a199665
commit
b39cf48c7b
@ -34,11 +34,6 @@ namespace QSB.Tools.TranslatorTool
|
||||
|
||||
TurnOffArrowEmission();
|
||||
|
||||
TranslatorProp.SetActive(false);
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
_scanBeams = transform.GetComponentsInChildren<QSBTranslatorScanBeam>();
|
||||
for (var i = 0; i < _scanBeams.Length; i++)
|
||||
{
|
||||
@ -46,6 +41,8 @@ namespace QSB.Tools.TranslatorTool
|
||||
}
|
||||
|
||||
enabled = false;
|
||||
|
||||
TranslatorProp.SetActive(false);
|
||||
}
|
||||
|
||||
private void TurnOffArrowEmission()
|
||||
|
Loading…
x
Reference in New Issue
Block a user