forked from PGR/ascnet
1
0
Fork 0

Stopgap fix for stage all command to prevent bricking state

It should now only be filtered to story stages and such... hopefully.
This commit is contained in:
Kyle Belanger 2024-04-11 22:11:59 -04:00
parent d0c13e3d58
commit 73af9e9d5f
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ namespace AscNet.GameServer.Commands
if (TargetStage == "all")
{
session.stage.Stages.Clear();
foreach (var stageData in TableReaderV2.Parse<StageTable>())
foreach (var stageData in TableReaderV2.Parse<StageTable>().Where(x => x.StageId >= 10000000 && x.StageId <= 20000000))
{
session.stage.Stages.Add(stageData.StageId, new()
{