Update change scene command

This commit is contained in:
2022-06-29 19:59:16 +08:00
parent f34e97c8c8
commit 12b8608a16

View File

@ -860,8 +860,13 @@ namespace GrasscutterTools.Forms
return; return;
} }
ChkIncludeSceneId.Enabled = true; ChkIncludeSceneId.Enabled = true;
var id = GameData.Scenes.Ids[ListScenes.SelectedIndex];
SetCommand("/changescene", id.ToString()); // 新的命令不再支持changescene已合并到tp中
if (!ChkNewCommand.Checked)
{
var id = GameData.Scenes.Ids[ListScenes.SelectedIndex];
SetCommand("/changescene", id.ToString());
}
} }
static readonly string[] climateTypes = { "none", "sunny", "cloudy", "rain", "thunderstorm", "snow", "mist" }; static readonly string[] climateTypes = { "none", "sunny", "cloudy", "rain", "thunderstorm", "snow", "mist" };