Bug fix
This commit is contained in:
parent
be848875cb
commit
f17769cc1a
|
@ -23,7 +23,7 @@ var Engine = {
|
|||
m.engineNode.mode = props.getNode("/controls/mode", 1);
|
||||
|
||||
followme.vehicleInformation.lighting.reverseIndicator = props.getNode("/controls/lighting/reverse_indicator", 1);;
|
||||
m.reverseIndicatorNode = followme.vehicleInformation.lighting.reverseIndicator
|
||||
m.reverseIndicatorNode = followme.vehicleInformation.lighting.reverseIndicator;
|
||||
|
||||
m.maxTorque = mTorque;
|
||||
m.ratedPower = mPower;
|
||||
|
|
|
@ -31,11 +31,8 @@ vehicleInformation.engine.direction = props.getNode("/controls/direction", 1);
|
|||
vehicleInformation.engine.mode = props.getNode("/controls/mode", 1);
|
||||
|
||||
#//Lignting
|
||||
vehicleInformation.lighting = props.getNode("/controls/lighting", 1);;
|
||||
vehicleInformation.lighting.reverseIndicator = followme.vehicleInformation.lighting.getNode("reverse_indicator", 1);
|
||||
|
||||
wiper.stateN = wiper.node.initNode("state", 0, "DOUBLE");
|
||||
props.getNode("/",1).setValue("/controls/wiper/frontwiper_switch", 0);
|
||||
vehicleInformation.lighting = props.getNode("/controls/lighting", 1);
|
||||
vehicleInformation.lighting.reverseIndicator = vehicleInformation.lighting.getNode("reverse_indicator", 1);
|
||||
|
||||
props.getNode("/",1).setValue("/controls/lighting/indicator-left", 0);
|
||||
props.getNode("/",1).setValue("/controls/lighting/indicator-right", 0);
|
||||
|
|
|
@ -72,7 +72,8 @@ var toggleWiper = func(){
|
|||
wiperMid();
|
||||
}
|
||||
}
|
||||
|
||||
wiper.stateN = wiper.node.initNode("state", 0, "DOUBLE");
|
||||
props.getNode("/",1).setValue("/controls/wiper/frontwiper_switch", 0);
|
||||
#var Led = {
|
||||
#
|
||||
# new: func() { return { parents:[Led] },
|
||||
|
|
Loading…
Reference in New Issue