Removed Flies until cleanup is working again.

This commit is contained in:
[VB]AWOL
2013-09-18 03:36:10 -05:00
parent cd5227c322
commit c384f18744
3 changed files with 8 additions and 49 deletions

View File

@@ -8,6 +8,11 @@ _playerName = _this select 4;
_infected = _this select 5;
_victim removeAllEventHandlers "MPHit";
_victim enableSimulation false;
_victim removeAllEventHandlers "HandleDamage";
_victim removeAllEventHandlers "Killed";
_victim removeAllEventHandlers "Fired";
_victim removeAllEventHandlers "FiredNear";
_victim = _newObject;
_victimName = _victim getVariable["bodyName", "nil"];
@@ -92,12 +97,6 @@ if (_characterID != "0") then
diag_log ("HIVE: WRITE: "+ str(_key));
#endif
_key call server_hiveWrite;
// spawn flies
_sound = createSoundSource["Sound_Flies",getPosATL _newObject,[],0];
// Add flies to cleanup array
dayz_flyMonitor set[count dayz_flyMonitor, [_sound,_newObject]];
}
else
{