mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-13 13:21:57 +03:00
Remove unnecessary check in damage diag_log
Vanilla commit: https://github.com/DayZMod/DayZ/commit/e826a8bda95dbc8b5dc25b7efd1be3ee79b395b1
This commit is contained in:
@@ -262,7 +262,7 @@ if (_damage > 0.4) then {
|
||||
|
||||
//Display some info in the players log file.
|
||||
if (_unit == player) then {
|
||||
diag_log format["DAMAGE: player hit by %1 in %2 with %3 for %4 scaled to %5, Conscious %6",_sourceVehicleType,_hit,if (_ammo == "") then { "" } else { _ammo },(str(_damage)),(str(_damage * _scale)),(str (!_unconscious))];
|
||||
diag_log format["DAMAGE: player hit by %1 in %2 with %3 for %4 scaled to %5, Conscious %6",_sourceVehicleType,_hit,_ammo,(str(_damage)),(str(_damage * _scale)),(str (!_unconscious))];
|
||||
r_player_blood = r_player_blood - (_damage * _scale);
|
||||
|
||||
//Pain and Infection
|
||||
|
||||
Reference in New Issue
Block a user