fix: BodyModule可能的注册失败问题
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using AibisDream.FixSystem;
|
||||
@@ -88,8 +88,7 @@ namespace AibisDream
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_session.Phase != GameSessionPhase.MainMenu
|
||||
|| !TryAcquireCommand(SessionCommandKind.Start))
|
||||
if (!TryAcquireCommand(SessionCommandKind.Start))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -306,6 +305,7 @@ namespace AibisDream
|
||||
{
|
||||
try
|
||||
{
|
||||
// 设置当前状态
|
||||
_session.ResetRuntimeState();
|
||||
if (!TrySetPhase(GameSessionPhase.Starting))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user