Add quit to test shutdown works; empty command to not send presence.

This commit is contained in:
Chris Marsh 2017-07-25 14:33:12 -07:00
parent 211350604b
commit eff657014b

View file

@ -68,6 +68,10 @@ static void gameLoop()
printf("You are standing in an open field west of a white house.\n");
while (prompt(line, sizeof(line))) {
if (line[0]) {
if (line[0] == 'q') {
break;
}
if (time(NULL) & 1) {
printf("I don't understand that.\n");
}
@ -82,6 +86,7 @@ static void gameLoop()
++FrustrationLevel;
updateDiscordPresence();
}
#ifdef DISCORD_DISABLE_IO_THREAD
Discord_UpdateConnection();