Removed User.GetFaction()

This commit is contained in:
hydrant
2019-03-10 13:02:03 +01:00
parent f732f053a8
commit ed069fd1d7
8 changed files with 39 additions and 43 deletions

View File

@@ -42,7 +42,7 @@ namespace ReallifeGamemode.Server.Services
{
foreach (Client c in NAPI.Pools.GetAllPlayers())
{
Faction f = c.GetUser()?.GetFaction();
Faction f = c.GetUser()?.Faction;
if (f != null)
{
if (factions.Find(fT => fT.Id == f.Id) != null)