Overseen an "else"

This commit is contained in:
Christian 2017-10-11 17:34:52 +02:00
parent e0b837d486
commit 2334e33fae
1 changed files with 9 additions and 8 deletions

View File

@ -100,16 +100,17 @@ if (isServer) then {
if (side (group _unit) == GRLIB_side_friendly) then {
stats_blufor_teamkills = stats_blufor_teamkills + 1;
};
} else {
if (side (group _unit) == GRLIB_side_resistance) then {
KP_liberation_guerilla_strength = KP_liberation_guerilla_strength - 1;
if (KP_liberation_asymmetric_debug > 0) then {diag_log format ["[KP LIBERATION] [ASYMMETRIC] Guerilla unit killed by: %1", name _killer];};
if ((GRLIB_side_friendly getFriend GRLIB_side_resistance) >= 0.6) then {
[3, [(name _unit)]] remoteExec ["F_cr_penaltyMsg"];
[KP_liberation_cr_resistance_penalty, true] spawn F_cr_changeCR;
};
};
if (side (group _unit) == GRLIB_side_resistance) then {
KP_liberation_guerilla_strength = KP_liberation_guerilla_strength - 1;
if (KP_liberation_asymmetric_debug > 0) then {diag_log format ["[KP LIBERATION] [ASYMMETRIC] Guerilla unit killed by: %1", name _killer];};
if ((GRLIB_side_friendly getFriend GRLIB_side_resistance) >= 0.6) then {
[3, [(name _unit)]] remoteExec ["F_cr_penaltyMsg"];
[KP_liberation_cr_resistance_penalty, true] spawn F_cr_changeCR;
};
};
} else {
if (typeof _unit in all_hostile_classnames) then {
stats_opfor_vehicles_killed = stats_opfor_vehicles_killed + 1;