improve fire
This commit is contained in:
parent
713f12418c
commit
cec1b4730e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Reference in a new issue