Revert "cleanup"

This reverts commit 2ce24d313d.
This commit is contained in:
Mister_Nebula 2020-08-23 12:34:36 +01:00
parent 2ce24d313d
commit e41ffc30a2

View File

@ -126,7 +126,11 @@ namespace QSB.DeathSync
private SpawnPoint GetSpawnPoint(bool isShip = false)
{
return _playerSpawner.GetInitialSpawnPoint();
return _playerSpawner
.GetValue<SpawnPoint[]>("_spawnList")
.FirstOrDefault(spawnPoint =>
spawnPoint.GetSpawnLocation() == SpawnLocation.TimberHearth && spawnPoint.IsShipSpawn() == isShip
);
}
}
}