Commit 15ef4580 authored by Julian Zobel's avatar Julian Zobel
Browse files

Actuator: Do not switch to Fly if the check is, if it is on

parent d5f574ca
...@@ -133,7 +133,7 @@ public class ActuatorEnergyComponent implements EnergyComponent { ...@@ -133,7 +133,7 @@ public class ActuatorEnergyComponent implements EnergyComponent {
public boolean isOn() { public boolean isOn() {
if(!currentState.equals(OFF) && isAvailable()) if(!currentState.equals(OFF) && isAvailable())
{ {
doStateChange(FLY); //doStateChange(FLY);
return true; return true;
} }
return false; return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment