Update core/src/commands/command_helper.cpp

Co-authored-by: Rose Witchaven <32779090+in1tiate@users.noreply.github.com>
This commit is contained in:
Salanto 2021-07-29 19:59:03 +02:00 committed by GitHub
parent 6034c60793
commit 815b3a79e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ QStringList AOClient::buildAreaList(int area_idx)
QString char_entry = "[" + QString::number(client->id) + "] " + client->current_char;
if (client->current_char == "")
char_entry += "Spectator";
if (!(client->showname == ""))
if (client->showname != "")
char_entry += " (" + client->showname + ")";
if (area->owners().contains(client->id))
char_entry.insert(0, "[CM] ");