Untarget when switching states

https://github.com/xen-42/outer-wilds-new-horizons/issues/134
This commit is contained in:
Noah Pilarski 2022-05-19 00:37:36 -04:00
parent f6c601a208
commit 7ad2d01a10

View File

@ -107,6 +107,8 @@ namespace NewHorizons.Components
if (newState.orbit != null && newState.orbit != oldState.orbit) SetNewOrbit(primaryBody, orbitalParams);
_currentIndex = newIndex;
GlobalMessenger<OWRigidbody>.FireEvent("QuantumMoonChangeState", _rb);
}
// Be completely sure we move the visibility tracker back to our planet