diff --git a/wled00/playlist.cpp b/wled00/playlist.cpp index 0897eddad..bacfbc1a2 100644 --- a/wled00/playlist.cpp +++ b/wled00/playlist.cpp @@ -54,7 +54,7 @@ void unloadPlaylist() { int16_t loadPlaylist(JsonObject playlistObj, byte presetId) { - if (currentPlaylist > 0 && parentPlaylistPresetId > 0) return; // we are already in nested playlist, do nothing + if (currentPlaylist > 0 && parentPlaylistPresetId > 0) return -1; // we are already in nested playlist, do nothing if (currentPlaylist > 0) { parentPlaylistIndex = playlistIndex; parentPlaylistRepeat = playlistRepeat;