fix: /mission running not showing

This commit is contained in:
redleaf1221
2025-01-21 20:10:50 +08:00
parent 8bb211a4ee
commit ac422ab8e3

View File

@@ -82,7 +82,7 @@ public class CommandMission : ICommand
value.Add(m.ID);
}
if (arg.BasicArgs.Count == 1 && arg.BasicArgs[0] == "-all")
if ((arg.BasicArgs.Count == 1 && arg.BasicArgs[0] == "-all") || mission.Data.TrackingMainMissionId == 0)
{
//Show all the missions
await ShowMissionList(mission, missionMap, arg);