Final commit ...

This commit is contained in:
FlightControl
2017-03-17 21:49:06 +01:00
parent ce00cbf83e
commit 4e59f1a674
137 changed files with 70413 additions and 53 deletions
+4 -1
View File
@@ -977,7 +977,8 @@ function EVENT:onEvent( Event )
local Result, Value = xpcall( local Result, Value = xpcall(
function() function()
return EventFunction( EventClass, Event ) local Result, Value = EventFunction( EventClass, Event )
return Result, Value
end, ErrorHandler ) end, ErrorHandler )
end end
end end
@@ -991,6 +992,8 @@ function EVENT:onEvent( Event )
else else
self:E( { _EVENTMETA[Event.id].Text, Event } ) self:E( { _EVENTMETA[Event.id].Text, Event } )
end end
Event = nil
end end
--- The EVENTHANDLER structure --- The EVENTHANDLER structure
+1 -1
View File
@@ -999,7 +999,7 @@ function TASK:onenterSuccess( From, Event, To )
self:E( "Task Success" ) self:E( "Task Success" )
self:MessageToGroups( "Task " .. self:GetName() .. " is successful! Good job!" ) self:GetMission():GetCommandCenter():MessageToCoalition( "Task " .. self:GetName() .. " is successful! Good job!" )
self:UnAssignFromGroups() self:UnAssignFromGroups()
self:GetMission():__Complete( 1 ) self:GetMission():__Complete( 1 )
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More