diff --git a/Nasal/electrical.nas b/Nasal/electrical.nas index c94ad1ad..fde2729b 100644 --- a/Nasal/electrical.nas +++ b/Nasal/electrical.nas @@ -44,7 +44,7 @@ setlistener("/sim/signals/fdm-initialized", func { var dcbat = getprop("/systems/electrical/bus/dcbat"); var dc_ess = getprop("/systems/electrical/bus/dc-ess"); var gen_1_volts = getprop("/systems/electrical/extra/gen1-volts"); - var gen_2_volts = getprop("/systems/electrical/extra/gen1-volts"); + var gen_2_volts = getprop("/systems/electrical/extra/gen2-volts"); var galley_shed = getprop("/systems/electrical/extra/galleyshed"); var emergen = getprop("/controls/electrical/switches/emer-gen"); var ias = getprop("/instrumentation/airspeed-indicator/indicated-speed-kt"); @@ -177,7 +177,7 @@ var master_elec = func { dcbat = getprop("/systems/electrical/bus/dcbat"); dc_ess = getprop("/systems/electrical/bus/dc-ess"); gen_1_volts = getprop("/systems/electrical/extra/gen1-volts"); - gen_2_volts = getprop("/systems/electrical/extra/gen1-volts"); + gen_2_volts = getprop("/systems/electrical/extra/gen2-volts"); galley_shed = getprop("/systems/electrical/extra/galleyshed"); emergen = getprop("/controls/electrical/switches/emer-gen"); ias = getprop("/instrumentation/airspeed-indicator/indicated-speed-kt"); diff --git a/revision.txt b/revision.txt index 8c122704..de4f119c 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -2105 \ No newline at end of file +2106 \ No newline at end of file