mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Added Event Reset for SPAWN, GROUP and UNIT on SPAWN:ReSpawn()
This commit is contained in:
@@ -990,5 +990,16 @@ do -- Event Handling
|
||||
|
||||
return self
|
||||
end
|
||||
|
||||
--- Reset the subscriptions.
|
||||
-- @param #UNIT self
|
||||
-- @return #UNIT
|
||||
function UNIT:ResetEvents( Event )
|
||||
|
||||
self:EventDispatcher():Reset( self )
|
||||
|
||||
return self
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user