mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 19:33:46 +00:00
bugfix: timer negative on goto
when jumping events using goto, start time would not be set
This commit is contained in:
@@ -63,6 +63,7 @@ const initiateOSC = (config) => {
|
||||
try {
|
||||
let eventIndex = parseInt(args);
|
||||
if (isNaN(eventIndex) || eventIndex <= 0) return;
|
||||
global.timer.pause();
|
||||
global.timer.loadEvent(eventIndex - 1, undefined, true);
|
||||
} catch (error) {
|
||||
console.log('error calling goto: ', error);
|
||||
|
||||
Reference in New Issue
Block a user