Add quit to test shutdown works; empty command to not send presence.
This commit is contained in:
parent
211350604b
commit
eff657014b
1 changed files with 17 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue