From 73af9e9d5f20c66a53f04da44c3c652c80f406b9 Mon Sep 17 00:00:00 2001 From: Kyle Belanger Date: Thu, 11 Apr 2024 22:11:59 -0400 Subject: [PATCH] Stopgap fix for stage all command to prevent bricking state It should now only be filtered to story stages and such... hopefully. --- AscNet.GameServer/Commands/StageCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AscNet.GameServer/Commands/StageCommand.cs b/AscNet.GameServer/Commands/StageCommand.cs index e0e8f2f..9daa1c0 100644 --- a/AscNet.GameServer/Commands/StageCommand.cs +++ b/AscNet.GameServer/Commands/StageCommand.cs @@ -19,7 +19,7 @@ namespace AscNet.GameServer.Commands if (TargetStage == "all") { session.stage.Stages.Clear(); - foreach (var stageData in TableReaderV2.Parse()) + foreach (var stageData in TableReaderV2.Parse().Where(x => x.StageId >= 10000000 && x.StageId <= 20000000)) { session.stage.Stages.Add(stageData.StageId, new() {