Changes

Jump to navigation Jump to search
m
Line 77: Line 77:  
}
 
}
   −
# object-oriented settimer() replacement, see: http://wiki.flightgear.org/List_of_Nasal_extension_functions#maketimer.28.29_.282.11.2B.29  
+
# object-oriented settimer() replacement
 +
# see: http://wiki.flightgear.org/List_of_Nasal_extension_functions#maketimer.28.29_.282.11.2B.29  
 
var timer = maketimer(0.8, func() {
 
var timer = maketimer(0.8, func() {
 
   layers['EF2000-dirt.png'].hide();
 
   layers['EF2000-dirt.png'].hide();
 
}).start();
 
}).start();
   −
var timer = maketimer(1.6, func() {
+
var timer2 = maketimer(1.6, func() {
 
   layers['EF2000-dirt.png'].show();
 
   layers['EF2000-dirt.png'].show();
 
}).start();
 
}).start();

Navigation menu