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 )
|
||||
{
|
||||
if ( state ) {
|
||||
poweringUp()
|
||||
} else {
|
||||
clearEverything();
|
||||
}
|
||||
state ? poweringUp() : clearEverything();
|
||||
}
|
||||
|
||||
// This function is used to send data back through to the LUA side
|
||||
|
||||
Reference in New Issue
Block a user