diff --git a/source/core/ct_chat.cpp b/source/core/ct_chat.cpp index 6e04e7e49..663754c9e 100644 --- a/source/core/ct_chat.cpp +++ b/source/core/ct_chat.cpp @@ -326,7 +326,7 @@ static void ShoveChatStr (const char *str, uint8_t who) if (*str == '#') { - C_DoCommand(FStringf("activatecheat %s", str + 1)); + C_DoCommand(FStringf("activatecheat \"%s\"", str + 1)); } else {