fix nametag blip on login

This commit is contained in:
hydrant
2021-04-05 17:21:25 +02:00
parent d8cfd5d58b
commit 42e292d3cf

View File

@@ -266,7 +266,7 @@ namespace ReallifeGamemode.Server.Extensions
nameTagColor = -1; nameTagColor = -1;
blipColor = 64; blipColor = 64;
} }
else if (user.Faction != null) else if (user.FactionId != null)
{ {
if(user.FactionId > 3 || (user.FactionId >= 1 && user.FactionId <= 3 && duty)) if(user.FactionId > 3 || (user.FactionId >= 1 && user.FactionId <= 3 && duty))
{ {