mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-25 19:26:08 +03:00
Remove unnecessary key event handler reset
No need to reset the key event handler again in player_monitor.fsm, it is already done onPreloadFinished.
This commit is contained in:
@@ -87,7 +87,6 @@ while {r_doLoop and (_i < 12)} do {
|
||||
};
|
||||
if (!_bagFound) then {_forceClose = true;} else { player removeMagazine _bagToRemove;};
|
||||
cutText [localize "str_actions_medical_transfusion_start", "PLAIN DOWN"];
|
||||
[player,_unit,"loc",rTITLETEXT,localize "str_actions_medical_transfusion_start","PLAIN DOWN"] call RE;
|
||||
_started = true;
|
||||
};
|
||||
|
||||
@@ -132,7 +131,6 @@ while {r_doLoop and (_i < 12)} do {
|
||||
_unit setVariable ["LastTransfusion",time];
|
||||
if (_TransfusionInfection) then {r_player_infected = true; player setVariable["USEC_infected",true,true];};
|
||||
cutText [localize "str_actions_medical_transfusion_successful", "PLAIN DOWN"];
|
||||
[player,_unit,"loc",rTITLETEXT,localize "str_actions_medical_transfusion_successful","PLAIN DOWN"] call RE;
|
||||
r_doLoop = false;
|
||||
};
|
||||
|
||||
@@ -141,7 +139,6 @@ while {r_doLoop and (_i < 12)} do {
|
||||
if (r_interrupt or !_isClose or _forceClose) then {
|
||||
diag_log format ["TRANSFUSION: transfusion was interrupted (r_interrupt: %1 | distance: %2 (%3) | _i = %4)", r_interrupt, player distance _unit, _isClose, _i];
|
||||
cutText [localize "str_actions_medical_transfusion_interrupted", "PLAIN DOWN"];
|
||||
[player,_unit,"loc",rTITLETEXT,localize "str_actions_medical_transfusion_interrupted","PLAIN DOWN"] call RE;
|
||||
r_doLoop = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user