Makes players spawn on job spawn markers on roundstart (#543)
* Adds job type to spawn points, makes players spawn on job spawn markers on roundstart * Update Content.Server/GameObjects/Components/Markers/SpawnPointComponent.cs Co-Authored-By: Pieter-Jan Briers <pieterjan.briers@gmail.com> Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
This commit is contained in:
committed by
Pieter-Jan Briers
parent
1996893a26
commit
09a27df6db
@@ -8,15 +8,15 @@ namespace Content.Server.Mobs.Roles
|
||||
{
|
||||
public class Job : Role
|
||||
{
|
||||
private readonly JobPrototype _jobPrototype;
|
||||
public JobPrototype Prototype { get; }
|
||||
|
||||
public override string Name { get; }
|
||||
|
||||
public String StartingGear => _jobPrototype.StartingGear;
|
||||
public String StartingGear => Prototype.StartingGear;
|
||||
|
||||
public Job(Mind mind, JobPrototype jobPrototype) : base(mind)
|
||||
{
|
||||
_jobPrototype = jobPrototype;
|
||||
Prototype = jobPrototype;
|
||||
Name = jobPrototype.Name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user