improve fire

This commit is contained in:
Jonathan Redpath 2017-08-07 15:57:31 +01:00
parent 713f12418c
commit cec1b4730e

View file

@ -127,7 +127,7 @@ var master_fire = func {
# Test Sequence # # Test Sequence #
################# #################
if (getprop("/controls/fire/cargo/test")) { if (test) {
setprop("/systems/fire/cargo/test", 1); setprop("/systems/fire/cargo/test", 1);
} else { } else {
setprop("/systems/fire/cargo/test", 0); setprop("/systems/fire/cargo/test", 0);
@ -188,5 +188,5 @@ var update_fire = func {
master_fire(); master_fire();
} }
var fire_timer = maketimer(0.1, update_fire); var fire_timer = maketimer(0.2, update_fire);