Fix profile editor not correctly enforcing single high-priority job.
This commit is contained in:
@@ -336,6 +336,7 @@ namespace Content.Client.UserInterface
|
|||||||
if (jobSelector != selector && jobSelector.Priority == JobPriority.High)
|
if (jobSelector != selector && jobSelector.Priority == JobPriority.High)
|
||||||
{
|
{
|
||||||
jobSelector.Priority = JobPriority.Medium;
|
jobSelector.Priority = JobPriority.Medium;
|
||||||
|
Profile = Profile.WithJobPriority(jobSelector.Job.ID, JobPriority.Medium);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user