update core

This commit is contained in:
2024-10-25 15:45:26 +08:00
parent 2bfcd95f09
commit 3a38008dc4
5 changed files with 8 additions and 6 deletions

View File

@@ -13,6 +13,10 @@ namespace Game.FsmNode
{
protected override async void OnEnter (params object[] args)
{
if (MapContent.Instance.ScenePart == null)
{
RoomManager.Instance.LoadScenePart (RoomManager.Instance.PartIndex);
}
AudioManager.Instance.PlayBGM(BgmAudio.NormalBgm , 0.65f);
GameEventDefine.ChangeGameFsm.SendMessage (GameState.FightGame , true);
UIManager.Instance.CloseLoading (null);