add default return

This commit is contained in:
Melon-PieldeSapo
2024-12-17 14:28:08 +01:00
parent e776667142
commit 5f75a209d9
+2
View File
@@ -1027,6 +1027,8 @@ export async function fromIdUuid(id_uuid, options={}){
return playlistData;
}
}
//if we get here we have not found anything with that id.
return null;
}
function getSceneFromId(sceneId){
return game.scenes.filter(i=> i.id == sceneId)[0];