Removed some spawns

This commit is contained in:
Thomas Kooi 2015-01-22 23:47:06 +01:00
parent dce0b61d57
commit 80f90751cd
3 changed files with 29 additions and 34 deletions

View File

@ -73,7 +73,6 @@ if (count _attributes > 1) then {
[_target] call EFUNC(common,setDead);
};
// TODO use PFH instead
[_target,_wearOff,_var] spawn {
sleep ((_this select 1) + (round(random(30))));
_amountDecreased = 0;

View File

@ -10,7 +10,6 @@
#include "script_component.hpp"
[] spawn {
_log = [GVAR(INTERACTION_TARGET)] call FUNC(getActivityLog);
_counter = 0;
lbclear 214;
@ -43,5 +42,3 @@
lbadd[215, "No Data recorded.."];
lbadd[215, ""];
};
};

View File

@ -66,7 +66,6 @@ _displayBodyPartText = switch (_bodyPartText) do {
lbadd[213,format[localize "STR_ACE_UI_SELECTED_BODY_PART",_displayBodyPartText]];
lbSetData [213, _numberOf, ""];
lbSetColor [213, _numberOf, [0.27, 0.40, 0.26, 1]];
//[] spawn FUNC(updateActivityLog);
_numberOf = _numberOf + 1;
if (GVAR(setting_allowAirwayInjuries)) then {