mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 18:51:19 +00:00
parent
2ce24d313d
commit
e41ffc30a2
@ -126,7 +126,11 @@ namespace QSB.DeathSync
|
|||||||
|
|
||||||
private SpawnPoint GetSpawnPoint(bool isShip = false)
|
private SpawnPoint GetSpawnPoint(bool isShip = false)
|
||||||
{
|
{
|
||||||
return _playerSpawner.GetInitialSpawnPoint();
|
return _playerSpawner
|
||||||
|
.GetValue<SpawnPoint[]>("_spawnList")
|
||||||
|
.FirstOrDefault(spawnPoint =>
|
||||||
|
spawnPoint.GetSpawnLocation() == SpawnLocation.TimberHearth && spawnPoint.IsShipSpawn() == isShip
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user