mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Make spawns show up in PlayerSpawner.FindPlanetSpawns (#1068)
## Bug fixes - NH-made spawn points now show up in Cheat And Debug Menu's spawn point teleporter
This commit is contained in:
commit
cedff98834
@ -69,6 +69,8 @@ namespace NewHorizons.Builder.General
|
||||
PlayerSpawn = playerSpawn;
|
||||
PlayerSpawnInfo = point;
|
||||
}
|
||||
|
||||
spawnGO.SetActive(true);
|
||||
}
|
||||
}
|
||||
|
||||
@ -77,7 +79,6 @@ namespace NewHorizons.Builder.General
|
||||
foreach (var point in module.shipSpawnPoints)
|
||||
{
|
||||
var spawnGO = GeneralPropBuilder.MakeNew("ShipSpawnPoint", planetGO, null, point);
|
||||
spawnGO.SetActive(false);
|
||||
spawnGO.layer = Layer.PlayerSafetyCollider;
|
||||
|
||||
var shipSpawn = spawnGO.AddComponent<SpawnPoint>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user