From fe7d5a0462e25f8a06935a6ad4cc96b36759df71 Mon Sep 17 00:00:00 2001 From: sydadams Date: Thu, 10 May 2007 03:01:25 +0000 Subject: [PATCH] fixed a DME HOLD error .... note to self: dont use find and replace all ! --- Aircraft/Instruments-3d/kns80/KNS80.nas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Aircraft/Instruments-3d/kns80/KNS80.nas b/Aircraft/Instruments-3d/kns80/KNS80.nas index 003ea22d3..078e11128 100644 --- a/Aircraft/Instruments-3d/kns80/KNS80.nas +++ b/Aircraft/Instruments-3d/kns80/KNS80.nas @@ -301,10 +301,10 @@ setlistener("/instrumentation/kns-80/dme-hold", func { if(FDM_ON == 0){return;} if(cmdarg().getBoolValue()){ props.globals.getNode("instrumentation/dme/frequencies/selected-mhz").setDoubleValue(NAV1.getValue()); - props.globals.getNode("instrumentation/dme/frequencies/source").setDoubleValue("/instrumentation/dme/frequencies/selected-mhz"); + props.globals.getNode("instrumentation/dme/frequencies/source").setValue("/instrumentation/dme/frequencies/selected-mhz"); }else{ props.globals.getNode("instrumentation/dme/frequencies/selected-mhz").setDoubleValue(""); - props.globals.getNode("instrumentation/dme/frequencies/source").setDoubleValue("/instrumentation/nav[0]/frequencies/selected-mhz"); + props.globals.getNode("instrumentation/dme/frequencies/source").setValue("/instrumentation/nav[0]/frequencies/selected-mhz"); } });