Skip to content

Commit

Permalink
Fix the party moral issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LiZhenhuan1019 committed Jun 20, 2021
1 parent 1a92930 commit e2f809c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using EnhancedBattleTest.Data.MissionData.Logic;
using EnhancedBattleTest.Multiplayer.Data.MissionData;
using EnhancedBattleTest.SinglePlayer.Data.MissionData;
using SandBox;
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -225,7 +226,7 @@ public static Mission OpenEnhancedBattleTestSiege(
GetSiegeWeaponTypes(siegeWeaponsCountOfDefenders);
return MissionState.OpenNew("EnhancedBattleTestSiegeBattle", new MissionInitializerRecord(scene)
{
PlayingInCampaignMode = true,
PlayingInCampaignMode = false,
AtmosphereOnCampaign = atmosphereInfo,
SceneLevels = sceneLevelString,
TimeOfDay = timeOfDay
Expand All @@ -234,6 +235,7 @@ public static Mission OpenEnhancedBattleTestSiege(
List<MissionBehaviour> missionBehaviourList = new List<MissionBehaviour>
{
new RemoveRetreatOption(),
new CampaignMissionComponent(),
new CommanderLogic(config),
new BattleSpawnLogic(isSallyOut
? "sally_out_set"
Expand Down

0 comments on commit e2f809c

Please sign in to comment.