mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
Radar power ternary statement
This commit is contained in:
@@ -266,11 +266,7 @@ function poweredUp()
|
|||||||
|
|
||||||
function radarPower( state )
|
function radarPower( state )
|
||||||
{
|
{
|
||||||
if ( state ) {
|
state ? poweringUp() : clearEverything();
|
||||||
poweringUp()
|
|
||||||
} else {
|
|
||||||
clearEverything();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This function is used to send data back through to the LUA side
|
// This function is used to send data back through to the LUA side
|
||||||
|
|||||||
Reference in New Issue
Block a user