AP_Scripting: enable lua scripts in ROMFS

This commit is contained in:
Andrew Tridgell 2020-03-12 13:48:57 +11:00
parent ea57b7b3cd
commit ebec738b88
1 changed files with 1 additions and 0 deletions

View File

@ -372,6 +372,7 @@ void lua_scripts::run(void) {
// Scan the filesystem in an appropriate manner and autostart scripts
load_all_scripts_in_dir(L, SCRIPTING_DIRECTORY);
load_all_scripts_in_dir(L, ":ROMFS/scripts");
succeeded_initial_load = true;