Fixing errors due to core changes in the model.

This commit is contained in:
FlightControl_Master
2018-03-22 05:01:14 +01:00
parent 7a4a3217df
commit 52d783a0b7
11 changed files with 30 additions and 26 deletions

View File

@@ -323,7 +323,7 @@ function TASK:AbortGroup( PlayerGroup )
-- Now check if the task needs to go to hold...
-- It will go to hold, if there are no players in the mission...
PlayerGroups:Flush()
PlayerGroups:Flush( self )
local IsRemaining = false
for GroupName, AssignedGroup in pairs( PlayerGroups:GetSet() or {} ) do
if self:IsGroupAssigned( AssignedGroup ) == true then
@@ -374,7 +374,7 @@ function TASK:CrashGroup( PlayerGroup )
-- Now check if the task needs to go to hold...
-- It will go to hold, if there are no players in the mission...
PlayerGroups:Flush()
PlayerGroups:Flush( self )
local IsRemaining = false
for GroupName, AssignedGroup in pairs( PlayerGroups:GetSet() or {} ) do
if self:IsGroupAssigned( AssignedGroup ) == true then