This commit is contained in:
Applevangelist
2024-07-13 15:21:51 +02:00
parent af85745433
commit a833703731
7 changed files with 42 additions and 26 deletions

View File

@@ -393,7 +393,8 @@ function NAVYGROUP:New(group)
-- Handle events:
self:HandleEvent(EVENTS.Birth, self.OnEventBirth)
self:HandleEvent(EVENTS.Dead, self.OnEventDead)
self:HandleEvent(EVENTS.RemoveUnit, self.OnEventRemoveUnit)
self:HandleEvent(EVENTS.RemoveUnit, self.OnEventRemoveUnit)
self:HandleEvent(EVENTS.UnitLost, self.OnEventRemoveUnit)
-- Start the status monitoring.
self.timerStatus=TIMER:New(self.Status, self):Start(1, 30)