summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/rkt/rkt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/rkt/rkt.c b/src/modules/rkt/rkt.c
index 71a00e7..9aa18ee 100644
--- a/src/modules/rkt/rkt.c
+++ b/src/modules/rkt/rkt.c
@@ -322,6 +322,9 @@ static void rkt_render_fragment(til_module_context_t *context, til_stream_t *str
((rkt_setup_t *)context->setup)->connect ? (ctxt->connected ? "ONLINE" : "OFFLINE") : "PLAYER",
ctxt->scener ? "SCENER" : "NOSCENER");
+ if (scene != ctxt->last_scene)
+ ctxt->paused = 1;
+
/* TODO: creating/destroying this every frame is dumb, but
* as this is a diagnostic it's not so important.
*/
© All Rights Reserved