Added Job Quit to Interaction -> JOB

This commit is contained in:
VegaZ
2021-04-18 00:54:55 +02:00
parent 6a28cbe60d
commit 0b8be38254
4 changed files with 20 additions and 1 deletions

View File

@@ -168,6 +168,7 @@ namespace ReallifeGamemode.Server.Events
busskill = u.BusSkill,
pilotskill = u.PilotSkill,
wage = u.Wage,
isActive = JobBase.GetPlayerInJob().Contains(player),
};
var memberList = dbContext.Users.Where(f => f.FactionId == u.FactionId && u.FactionId != 0).OrderByDescending(f => f.FactionRank.Order).ThenBy(f => f.Name).Select(m => new