Added parenthesis

This commit is contained in:
SilentSpike 2015-05-11 19:04:04 +01:00
parent 7cf52d13ca
commit f6cdad62ca
3 changed files with 5 additions and 5 deletions

View File

@ -153,7 +153,7 @@ if (_activated) then {
} foreach (_logic getvariable ["channels",[]]); } foreach (_logic getvariable ["channels",[]]);
// Added by ACE_zeus to toggle ascension messages // Added by ACE_zeus to toggle ascension messages
if GVAR(zeusAscension) then { if (GVAR(zeusAscension)) then {
//--- Sent notification to all assigned players //--- Sent notification to all assigned players
{ {
if (isplayer _x) then { if (isplayer _x) then {
@ -193,7 +193,7 @@ if (_activated) then {
}; };
// Added by ACE_zeus to toggle eagle // Added by ACE_zeus to toggle eagle
if GVAR(zeusBird) then { if (GVAR(zeusBird)) then {
//--- Create bird //--- Create bird
_birdType = _logic getvariable ["birdType","eagle_f"]; _birdType = _logic getvariable ["birdType","eagle_f"];
if (_birdType != "") then { if (_birdType != "") then {
@ -218,7 +218,7 @@ if (_activated) then {
_addons call bis_fnc_activateaddons; _addons call bis_fnc_activateaddons;
// Added by ACE_zeus to toggle eagle // Added by ACE_zeus to toggle eagle
if GVAR(zeusBird) then { if (GVAR(zeusBird)) then {
//--- Locality changed //--- Locality changed
_logic addeventhandler [ _logic addeventhandler [
"local", "local",

View File

@ -137,7 +137,7 @@ if (_activated) then {
_soundSource = if (_soundSourceClass != "") then {createSoundSource [_soundSourceClass,_pos,[],0]} else {objnull}; _soundSource = if (_soundSourceClass != "") then {createSoundSource [_soundSourceClass,_pos,[],0]} else {objnull};
// Added by ACE_zeus to toggle ordnance radio message // Added by ACE_zeus to toggle ordnance radio message
if GVAR(radioOrdnance) then { if (GVAR(radioOrdnance)) then {
//--- Play radio warning //--- Play radio warning
[] call _fnc_playRadio; [] call _fnc_playRadio;
}; };

View File

@ -48,7 +48,7 @@ if (_activated && local _logic && !isnull curatorcamera) then {
_unit setvariable ["bis_fnc_moduleRemoteControl_owner",player,true]; _unit setvariable ["bis_fnc_moduleRemoteControl_owner",player,true];
// Added by ACE_zeus to toggle remote control wind sound // Added by ACE_zeus to toggle remote control wind sound
if GVAR(remoteWind) then { if (GVAR(remoteWind)) then {
//--- Play wind cue to all players //--- Play wind cue to all players
[format ["wind%1",ceil random 5],"bis_fnc_playsound"] call bis_fnc_mp; [format ["wind%1",ceil random 5],"bis_fnc_playsound"] call bis_fnc_mp;
}; };