fix scheine zeigen
This commit is contained in:
@@ -1873,6 +1873,8 @@ namespace ReallifeGamemode.Server.Commands
|
||||
|
||||
User u = target.GetUser(dbContext);
|
||||
|
||||
FactionHelper.ResetPlayer(target, u, dbContext);
|
||||
|
||||
if (faction != 0)
|
||||
{
|
||||
u.FactionId = f.Id;
|
||||
@@ -1939,6 +1941,8 @@ namespace ReallifeGamemode.Server.Commands
|
||||
|
||||
User u = target.GetUser(dbContext);
|
||||
|
||||
FactionHelper.ResetPlayer(target, u, dbContext);
|
||||
|
||||
u.FactionId = f.Id;
|
||||
u.FactionRankId = dbContext.FactionRanks.
|
||||
OrderByDescending(x => x.Order)
|
||||
|
||||
Reference in New Issue
Block a user