mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Untarget when switching states
https://github.com/xen-42/outer-wilds-new-horizons/issues/134
This commit is contained in:
parent
f6c601a208
commit
7ad2d01a10
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user