Merge branch 'develop' of ssh://development.life-of-german.org:451/log-gtav/reallife-gamemode into develop

This commit is contained in:
2021-04-11 18:20:12 +02:00
2 changed files with 6 additions and 1 deletions

View File

@@ -87,7 +87,7 @@ var chatAPI =
chat.size++;
if (chat.size >= chat.history_limit) {
chat.container.children(":last").remove();
chat.container.children(":first").remove();
}
},

View File

@@ -328,6 +328,11 @@ namespace ReallifeGamemode.Server.Extensions
int nameTagColor = 0;
Player player = user.Player;
if(player == null || !player.IsLoggedIn())
{
return;
}
bool duty = user.GetData<bool>("duty");
if (player.GetData<bool>("SAdminduty"))