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:
ebaydayz
2016-04-15 20:16:13 -04:00
parent 110befba7f
commit 993ce14da6
5 changed files with 8 additions and 11 deletions

View File

@@ -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;
};