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:
parent
d0c13e3d58
commit
73af9e9d5f
|
@ -19,7 +19,7 @@ namespace AscNet.GameServer.Commands
|
||||||
if (TargetStage == "all")
|
if (TargetStage == "all")
|
||||||
{
|
{
|
||||||
session.stage.Stages.Clear();
|
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()
|
session.stage.Stages.Add(stageData.StageId, new()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue