|
@@ -53,7 +53,7 @@ public class ServerStartEventHandler : AEvent<ServerStart>
|
|
|
foreach (MHTaskConfig mHTaskConfig in taskConfig.mHTaskConfigs)
|
|
|
{
|
|
|
MHRescueMission mission = ComponentFactory.Create<MHRescueMission>();
|
|
|
-
|
|
|
+ mission.ExecutionContext = mHTaskConfig.RunTimes;
|
|
|
mission.AddComponent<TotalTaskPerformanceComponent>();
|
|
|
mission.AddComponent<TotalEconomicalComponent>();
|
|
|
mission.AddComponent<EquipmentComponent>();
|