diff --git a/src/loader.gd b/src/loader.gd index 4025998..5a70257 100644 --- a/src/loader.gd +++ b/src/loader.gd @@ -153,11 +153,12 @@ Further arguments: processed["presentation"] = true # Check if file exists - if !FileAccess.file_exists(arg): + if !FileAccess.file_exists(arg) and !DirAccess.dir_exists_absolute(arg): logger.error(core.misc.stringify_variables("Unable to parse argument %arg%: Invalid file path %arg%", { "arg": arg })) continue # Update 'args' + args["load_presentation"] = true args["presentation_path"] = arg return args