Teleport noobs off Arrivals shuttle to spawn (#17189)

This commit is contained in:
Tom Leys
2023-08-22 22:46:50 +12:00
committed by GitHub
parent 4d845caa07
commit bc097c7b4d
5 changed files with 95 additions and 4 deletions

View File

@@ -17,6 +17,11 @@ public sealed class SpawnPointComponent : Component
public SpawnPointType SpawnType { get; } = SpawnPointType.Unset;
public JobPrototype? Job => string.IsNullOrEmpty(_jobId) ? null : _prototypeManager.Index<JobPrototype>(_jobId);
public override string ToString()
{
return $"{_jobId} {SpawnType}";
}
}
public enum SpawnPointType