aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2024-09-28 22:39:35 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2024-09-28 22:39:35 +0100
commite3105ede1a5472f3f7968720a8997ac0e1e908d1 (patch)
treeb885c6c5e2a8f9bff10f47c80c34800f4ccf2490
parentb15d2c56f05001bff0f7d3b9456dcf8053f73759 (diff)
downloadsst-e3105ede1a5472f3f7968720a8997ac0e1e908d1.tar.gz
sst-e3105ede1a5472f3f7968720a8997ac0e1e908d1.zip
Add missing newlines to clientcon messages
Just had a brain fart when writing this code initially, woops. Just as well I have people pointing these things out to me before I end up making releases with such mistakes. At least, usually. :^)
-rw-r--r--src/l4dwarp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/l4dwarp.c b/src/l4dwarp.c
index 9c408db..b9e019d 100644
--- a/src/l4dwarp.c
+++ b/src/l4dwarp.c
@@ -118,7 +118,7 @@ DEF_CCMD_HERE_UNREG(sst_l4d_testwarp, "Simulate a bot warping to you "
}
void *e = ed->ent_unknown;
if_cold (get_teamnum(e) != 2) {
- clientcon_msg(ed, "error: must be in the Survivor team");
+ clientcon_msg(ed, "error: must be in the Survivor team\n");
return;
}
filter.pass_ent = e;
@@ -176,12 +176,12 @@ DEF_CCMD_HERE_UNREG(sst_l4d_previewwarp, "Visualise bot warp unstuck logic "
return;
}
if (con_cmdclient != 0) {
- clientcon_msg(ed, "error: only the server host can see visualisations");
+ clientcon_msg(ed, "error: only the server host can see visualisations\n");
return;
}
void *e = ed->ent_unknown;
if_cold (get_teamnum(e) != 2) {
- clientcon_msg(ed, "error: must be in the Survivor team");
+ clientcon_msg(ed, "error: must be in the Survivor team\n");
return;
}
filter.pass_ent = e;