From 10ccb3fe63af983670966a52a267571d041aee1c Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 4 May 2022 22:26:17 +0100 Subject: Fix a woopsy and slightly tweak autorecord UX --- src/demorec.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/demorec.c') diff --git a/src/demorec.c b/src/demorec.c index 7875e30..2108436 100644 --- a/src/demorec.c +++ b/src/demorec.c @@ -120,7 +120,13 @@ static void hook_record_cb(const struct con_cmdargs *args) { } } orig_record_cb(args); - if (!was && *recording) *demonum = 0; // see SetSignonState comment above + if (!was && *recording) { + *demonum = 0; // see SetSignonState comment above + // For UX, make it more obvious we're recording, in particular when not + // already in a map as the "recording to x.dem" won't come up yet. + // mike: I think this is questionably necessary but I'm outvoted :) + con_msg("Demo recording started\n"); + } } static void hook_stop_cb(const struct con_cmdargs *args) { -- cgit v1.2.3