Moved debug message

This commit is contained in:
Christian 2017-10-11 17:39:45 +02:00
parent 33e8205374
commit 5effbb6d2d
1 changed files with 1 additions and 2 deletions

View File

@ -104,13 +104,12 @@ if (isServer) then {
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) && (side _killer == GRLIB_side_friendly)) then {
if (KP_liberation_asymmetric_debug > 0) then {diag_log format ["[KP LIBERATION] [ASYMMETRIC] Guerilla unit killed by: %1", name _killer];};
[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;