You can adjust this behaviour in apollo_core.gml ➜ lua_add_file - change
apollo_core.gml
lua_add_file
lua_set_cwd(dir);
to
lua_set_cwd(filename_dir(fp));
or call lua_set_cwd yourself and set the optional chdir argument to false when calling lua_add_file.
lua_set_cwd
chdir
false
This is very useful info! Thanks for the continued exceptional customer support :)