This commit is contained in:
Mister_Nebula 2020-08-23 12:33:57 +01:00
parent 10a63f6d28
commit 2ce24d313d

View File

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