Added a layer to resolve the Client Bug problems in 1.5

This commit is contained in:
svenvandevelde
2016-02-19 14:35:59 +01:00
parent c81e7c2488
commit 61d51fe9a5
7 changed files with 165 additions and 32 deletions

View File

@@ -425,7 +425,7 @@ trace.scheduled("MISSIONSCHEDULER","Scheduler")
trace.i( "MISSIONSCHEDULER", "Client: " .. Client.ClientName )
if Client:ClientGroup() and Client:ClientGroup():getUnits() and Client:ClientGroup():getUnits()[1] and Client:ClientGroup():getUnits()[1]:getLife() > 0.0 then
if Client:ClientGroup() then
-- There is at least one Client that is alive... So the Mission status is set to Ongoing.
ClientsAlive = true