Fix profile editor not correctly enforcing single high-priority job.

This commit is contained in:
Pieter-Jan Briers
2020-01-20 09:20:15 +01:00
parent 05ff4e0956
commit 03bfb22559

View File

@@ -336,6 +336,7 @@ namespace Content.Client.UserInterface
if (jobSelector != selector && jobSelector.Priority == JobPriority.High)
{
jobSelector.Priority = JobPriority.Medium;
Profile = Profile.WithJobPriority(jobSelector.Job.ID, JobPriority.Medium);
}
}
}