mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Only get one ship
This commit is contained in:
parent
376092cd03
commit
f89a27922d
@ -203,8 +203,11 @@ namespace NewHorizons
|
||||
|
||||
if(scene.name == "SolarSystem")
|
||||
{
|
||||
_ship = GameObject.Find("Ship_Body").InstantiateInactive();
|
||||
DontDestroyOnLoad(_ship);
|
||||
if(_ship != null)
|
||||
{
|
||||
_ship = GameObject.Find("Ship_Body").InstantiateInactive();
|
||||
DontDestroyOnLoad(_ship);
|
||||
}
|
||||
|
||||
IsSystemReady = false;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user