Skip to content

Commit

Permalink
Allow tags in several decks in missions
Browse files Browse the repository at this point in the history
  • Loading branch information
andchiind committed Apr 29, 2024
1 parent 1c5bf08 commit e5772a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/api/Controllers/MissionSchedulingController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ [FromBody] ScheduledMissionQuery scheduledMissionQuery
{
missionDeck ??= missionArea.Deck;

if (missionDeck != missionArea.Deck) { return BadRequest("The mission spans multiple decks"); }
if (missionDeck != missionArea.Deck)
logger.LogWarning($"Mission {echoMission.Name} has tags in both deck {missionDeck.Name} and {missionArea.Deck.Name}.");
}

Area? area = null;
Expand Down

0 comments on commit e5772a6

Please sign in to comment.