From 767ef74e27d30583b9c9e77e0a592c0f57911798 Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 20 Mar 2017 15:49:02 +0100 Subject: [PATCH] fix autostart condition --- lib/vrng/src/vrng/venues/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vrng/src/vrng/venues/core.cljs b/lib/vrng/src/vrng/venues/core.cljs index 015e11e49..5c0a303e5 100644 --- a/lib/vrng/src/vrng/venues/core.cljs +++ b/lib/vrng/src/vrng/venues/core.cljs @@ -1383,7 +1383,7 @@ ;;(swap! autostart assoc :countdown (time-to-active-talk)) (if (and (active-talk-in-state ["prelive"]) (:autostart @page-state) - (>= 0 (time-to-active-talk))) + (<= (time-to-active-talk) 0)) (start-talk-action (active-talk))) ;;(prn @autostart) ))