Skip to content
Snippets Groups Projects
Commit 30b5fb15 authored by Quentin Bramas's avatar Quentin Bramas
Browse files

when offline ignore current slide event

parent 501d2948
Branches
Tags
No related merge requests found
......@@ -342,7 +342,8 @@ const actions = {
setCurrentSlide: ({ slideId, endsIn, slide, startedAt, slideCount }) => (state, actions) => {
if (!state.adminKey
&& state.started
&& !state.finished) {
&& !state.finished
&& state.kind != 'OFFLINE') {
//setTimeout(actions.startGame, Math.max(0,endsIn - 5500));
}
actions.stopGame();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment