From ca1166febf73af94e095665e8092aaa4cc7749cb Mon Sep 17 00:00:00 2001 From: Ultracoolguy Date: Sun, 8 Nov 2020 13:45:27 -0400 Subject: [PATCH] Add newline for emergency button related errors --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 8ebc035..94490be 100644 --- a/main.c +++ b/main.c @@ -960,9 +960,9 @@ adventure(size_t pid, char *input) snprintf(buf, sizeof(buf), "Nothing to report here\n# "); } else if (strcmp(input, "press emergency button") == 0) { if (players[pid].location != LOC_CAFETERIA) { - snprintf(buf, sizeof(buf), "You can't do that here"); + snprintf(buf, sizeof(buf), "You can't do that here\n# "); } else if (!alive(players[pid])) { - snprintf(buf, sizeof(buf), "Ghosts can't call emergencies"); + snprintf(buf, sizeof(buf), "Ghosts can't call emergencies\n# "); } else { start_discussion(pid, SIZE_MAX); return;