1
0
Fork 0

Fix some property names.

This commit is contained in:
curt 2004-12-30 21:11:29 +00:00
parent 175a801d58
commit 5b34a96a12

View file

@ -73,20 +73,20 @@ dme_working = func {
}
navcom1_has_power = func {
if ( getprop("/systems/electrical/outputs/navcom[0]") < 1.0 ) {
if ( getprop("/systems/electrical/outputs/nav[0]") < 1.0 ) {
return 0;
}
if ( !getprop("/instrumentation/comm[0]/inputs/power-btn") ) {
if ( !getprop("/instrumentation/nav[0]/power-btn") ) {
return 0;
}
return 1;
}
navcom2_has_power = func {
if ( getprop("/systems/electrical/outputs/navcom[1]") < 1.0 ) {
if ( getprop("/systems/electrical/outputs/nav[1]") < 1.0 ) {
return 0;
}
if ( !getprop("/instrumentation/comm[1]/inputs/power-btn") ) {
if ( !getprop("/instrumentation/nav[1]/power-btn") ) {
return 0;
}
return 1;