Radar power ternary statement

This commit is contained in:
Dan
2019-11-30 21:44:38 +00:00
parent 8d9ff824f4
commit ffe1e8e058

View File

@@ -266,11 +266,7 @@ function poweredUp()
function radarPower( state )
{
if ( state ) {
poweringUp()
} else {
clearEverything();
}
state ? poweringUp() : clearEverything();
}
// This function is used to send data back through to the LUA side