fix names with color codes coloring the whole console.

This commit is contained in:
IceHax
2018-09-26 17:53:21 +02:00
committed by GitHub
parent 03362d2c6d
commit 25f9952c67

View File

@@ -20,7 +20,7 @@ end)
AddEventHandler('playerConnecting', function(name, setReason) AddEventHandler('playerConnecting', function(name, setReason)
local cv = GetConvarInt('sv_maxclients', 32) local cv = GetConvarInt('sv_maxclients', 32)
print('Connecting: ' .. name) print('Connecting: ' .. name .. '^7')
if playerCount >= cv then if playerCount >= cv then
print('Full. :(') print('Full. :(')