Further optimization of the Event Dispatcher.

Also fixed a problem with DESTROYGROUPTASK
This commit is contained in:
FlightControl
2016-04-20 21:59:37 +02:00
parent ba44e39344
commit 66c7ebf786
15 changed files with 396 additions and 217 deletions

View File

@@ -18,8 +18,8 @@ function DESTROYRADARSTASK:New( DestroyGroupNames )
self:F()
self.Name = 'Destroy Radars'
self:AddEvent( world.event.S_EVENT_DEAD, self.EventDead )
_EventDispatcher:OnDead( self.EventDead , self )
return self
end