From 6034c60793fdee746d4d8b9782ba39adb474b323 Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Thu, 29 Jul 2021 19:50:37 +0200 Subject: [PATCH] Don't ask why I did not use .isEmpty() --- core/src/commands/command_helper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/commands/command_helper.cpp b/core/src/commands/command_helper.cpp index ee5d2b6..bc374ea 100644 --- a/core/src/commands/command_helper.cpp +++ b/core/src/commands/command_helper.cpp @@ -49,6 +49,8 @@ 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 == "")) + char_entry += " (" + client->showname + ")"; if (area->owners().contains(client->id)) char_entry.insert(0, "[CM] "); if (authenticated)