Commit d64c21e2 authored by Guillaume Lebigot's avatar Guillaume Lebigot

Fix des jingles qui ne passent plus si on change l'intervalle pour le rendre...

Fix des jingles qui ne passent plus si on change l'intervalle pour le rendre inférieur au compteur actuel
parent 509b45f3
......@@ -310,7 +310,7 @@ module.exports = {
});
Promise.all([pNeedsRestart])
.then(() => {
if (module.exports._states.counterToJingle == module.exports.SETTINGS.EngineJinglesInterval) {
if (module.exports._states.counterToJingle >= module.exports.SETTINGS.EngineJinglesInterval) {
module.exports._services.player.playJingle();
module.exports._states.counterToJingle = 0;
} else {
......
Markdown is supported
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