mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 12:00:05 -05:00
Fix ScriptScheduler tests
This commit is contained in:
@@ -162,7 +162,7 @@ void ScriptScheduler::clearSchedule(std::optional<int> group) {
|
||||
|
||||
std::vector<std::string> ScriptScheduler::progressTo(double newTime) {
|
||||
std::vector<std::string> result;
|
||||
if (!_enabled || newTime == _currentTime) {
|
||||
if (!_enabled || newTime == _currentTime || _scripts.empty()) {
|
||||
// Update the new time
|
||||
_currentTime = newTime;
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user