Replace ValidatePrototypeId uses with ProtoId or EntProtoId (#38814)
* The easy ones * For certain values of easy * Easy test * Hair * Fix sandbox violations * Sort usings
This commit is contained in:
@@ -18,8 +18,7 @@ namespace Content.Shared.GameTicking
|
||||
// See ideally these would be pulled from the job definition or something.
|
||||
// But this is easier, and at least it isn't hardcoded.
|
||||
//TODO: Move these, they really belong in StationJobsSystem or a cvar.
|
||||
[ValidatePrototypeId<JobPrototype>]
|
||||
public const string FallbackOverflowJob = "Passenger";
|
||||
public static readonly ProtoId<JobPrototype> FallbackOverflowJob = "Passenger";
|
||||
|
||||
public const string FallbackOverflowJobName = "job-name-passenger";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user