diff --git a/src/Scripting/NasalSys.cxx b/src/Scripting/NasalSys.cxx index fcde853a8..3b1d99529 100644 --- a/src/Scripting/NasalSys.cxx +++ b/src/Scripting/NasalSys.cxx @@ -596,7 +596,7 @@ static naRef f_airportinfo(naContext c, naRef me, int argc, naRef* args) HASHSET("stopway", 7, naNum(rwy->stopwayM())); if (rwy->ILS()) { - HASHSET("ils-frequency-mhz", 17, naNum(rwy->ILS()->get_freq() / 100.0)); + HASHSET("ils_frequency_mhz", 17, naNum(rwy->ILS()->get_freq() / 100.0)); } #undef HASHSET