You've already forked taptap2024_GJ_chidouren
update core
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -54,10 +54,6 @@ namespace Game
|
||||
this._gameFsm.Active (GameState.InitGame , args);
|
||||
GameUpdateMgr.Instance.AddUpdater (DoUpdate);
|
||||
this.BindEvent ();
|
||||
if (MapContent.Instance.ScenePart == null)
|
||||
{
|
||||
LoadScenePart (this.PartIndex);
|
||||
}
|
||||
this._gameFsm.OpenState (GameState.StartGame);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user