fix nametag and blip color

This commit is contained in:
hydrant
2021-04-05 17:14:59 +02:00
parent cc24be5e09
commit d8cfd5d58b

View File

@@ -268,7 +268,11 @@ namespace ReallifeGamemode.Server.Extensions
} }
else if (user.Faction != null) else if (user.Faction != null)
{ {
nameTagColor = user.FactionId.Value; if(user.FactionId > 3 || (user.FactionId >= 1 && user.FactionId <= 3 && duty))
{
nameTagColor = user.FactionId.Value;
}
switch (user.FactionId) switch (user.FactionId)
{ {
case 1 when duty: case 1 when duty: