mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Some more colouring fixes (refs 164e1a4
)
This commit is contained in:
parent
164e1a4569
commit
a24eefa248
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,7 @@ local COLOURS_CONSOLE = {
|
|||
[2] = "^1", -- error
|
||||
[3] = "^3", -- warning
|
||||
[4] = "^2", -- success
|
||||
[5] = "^7", -- information
|
||||
[5] = "", -- information
|
||||
}
|
||||
|
||||
local neededSeverity = 5
|
||||
|
@ -39,6 +39,7 @@ function outputDebug(msg, severity)
|
|||
local severity = severity or 5
|
||||
|
||||
if severity <= neededSeverity then
|
||||
-- FIXME check whether non-legacymod servers handle colouring correctly
|
||||
et.G_Print("[WolfAdmin] "..COLOURS_CONSOLE[severity]..msg.."\n")
|
||||
|
||||
for playerId = 0, et.trap_Cvar_Get("sv_maxclients") - 1 do
|
||||
|
|
Loading…
Reference in a new issue