forked from 0ad/0ad
Fix undefined guid error when trying to kick as a nonhosting client in the gamesetup following 9c4344a940
.
This was SVN commit r19006.
This commit is contained in:
parent
57efd31a19
commit
b87fe17ac6
@ -1786,7 +1786,7 @@ function colorizePlayernameByGUID(guid, username = "")
|
||||
|
||||
function addChatMessage(msg)
|
||||
{
|
||||
if (msg.text)
|
||||
if (msg.type != "system" && msg.text)
|
||||
{
|
||||
let userName = g_PlayerAssignments[Engine.GetPlayerGUID() || "local"].name;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user