- bug - presets does not work - reloading FG causes whole addon reload and lost of mission state
- persisted mission_root between repositioning - refactored code (new separate files, function move)
This commit is contained in:
@@ -12,7 +12,7 @@ var main = func( root ) {
|
||||
setprop("/sim/mission/root_path", root);
|
||||
|
||||
# load scripts
|
||||
foreach(var f; ['mission.nas', 'extensions.nas', 'persistence.nas', 'gui.nas'] ) {
|
||||
foreach(var f; ['mission.nas', 'extensions.nas', 'persistence.nas', 'gui.nas', 'utils.nas'] ) {
|
||||
io.load_nasal( root ~ "/Nasal/" ~ f, "mission" );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user