Fix missing event log entries #3134

This commit is contained in:
Glowbal 2016-01-17 12:28:37 +01:00
parent 6e42a10d47
commit 209d10065b
2 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,8 @@
params ["_caller", "_target", "_selectionName", "_className", "_items"];
if (alive _target && {(_target getVariable [QGVAR(inCardiacArrest), false] || _target getVariable [QGVAR(inReviveState), false])}) then {
[_target, "activity_view", LSTRING(Activity_cpr), [[_caller, false, true] call EFUNC(common,getName)]] call FUNC(addToLog);
[[_caller, _target], QUOTE(DFUNC(treatmentAdvanced_CPRLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
};
true;

View File

@ -2064,6 +2064,9 @@
<Portuguese>%1 aplicou bandagem no paciente</Portuguese>
<Czech>%1 již obvázal pacienta</Czech>
</Key>
<Key ID="STR_ACE_Medical_Activity_cpr">
<English>%1 started CPR</English>
</key>
<Key ID="STR_ACE_Medical_Activity_usedItem">
<English>%1 used %2</English>
<Spanish>%1 usó %2</Spanish>
@ -3887,4 +3890,4 @@
<Czech>Žádné škrtidlo na této části těla!</Czech>
</Key>
</Package>
</Project>
</Project>