Update PlayerInfo.cs

This commit is contained in:
Mister_Nebula 2022-03-29 23:20:38 +01:00
parent 05770b6974
commit 490ba06fa4

View File

@ -71,21 +71,10 @@ public partial class PlayerInfo
public void UpdateObjectsFromStates()
{
if (OWInput.GetInputMode() == InputMode.None)
{
// ? why is this here lmao
return;
}
if (CameraBody == null)
{
return;
}
FlashLight?.UpdateState(FlashlightActive);
Translator?.ChangeEquipState(TranslatorEquipped);
ProbeLauncher?.ChangeEquipState(ProbeLauncherEquipped);
Signalscope?.ChangeEquipState(SignalscopeEquipped);
FlashLight.UpdateState(FlashlightActive);
Translator.ChangeEquipState(TranslatorEquipped);
ProbeLauncher.ChangeEquipState(ProbeLauncherEquipped);
Signalscope.ChangeEquipState(SignalscopeEquipped);
AnimationSync.SetSuitState(SuitedUp);
}