Add Faction Ranks
This commit is contained in:
@@ -40,14 +40,14 @@ namespace reallife_gamemode.Server.Extensions
|
||||
{
|
||||
User u = client.GetUser();
|
||||
if (u == null) return null;
|
||||
return context.Factions.FirstOrDefault(f => f.Id == u.FactionId);
|
||||
return u.GetFaction();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
User u = client.GetUser();
|
||||
if (u == null) return null;
|
||||
return context.Factions.FirstOrDefault(f => f.Id == u.FactionId);
|
||||
return u.GetFaction();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user