FlightGear version check: Difference between revisions

Jump to navigation Jump to search
Line 18: Line 18:
== Fgdata ==
== Fgdata ==
{{Note|This is currently just proof-of-concept code which will need to be refined/reviewed and committed to fgdata.}}
{{Note|This is currently just proof-of-concept code which will need to be refined/reviewed and committed to fgdata.}}
[[$FG_ROOT]]/Nasal/version.nas
[[$FG_ROOT]]/Nasal/version.nas (this ensures that the check will be executed for each loaded aircraft, without having to touch any -set.xml files, and it will also work with [[Reset & re-init]]).
<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
# anonymous function that will be called directly
# anonymous function that will be called directly

Navigation menu