mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Switched for Event and State Transition handlers the parameter order
The parameters are now: From, Event, To The old parameter order was: Event, From, To
This commit is contained in:
@@ -103,7 +103,7 @@ do -- TASK_PICKUP
|
||||
-- @param #string From
|
||||
-- @param #string To
|
||||
-- @param Event#EVENTDATA Event
|
||||
function TASK_PICKUP:OnNext( Fsm, Event, From, To, Event )
|
||||
function TASK_PICKUP:OnNext( Fsm, From, Event, To, Event )
|
||||
|
||||
self:SetState( self, "State", To )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user