修复状态机bug

This commit is contained in:
shenjianxing 2024-12-30 16:14:35 +08:00
parent 60714bb150
commit 70902561fc

View File

@ -37,7 +37,7 @@ public class StateMachineController : MonoSingleton<StateMachineController>
private void OnStart(OnModuleStart start)
{
foreach (var item in Global.Instance.appData.Modules[0].FSM)
foreach (var item in Global.Instance.curModule.FSM)
{
FSM<string> fsm = new FSM<string>();
var fsmInfo = new FsmInfo();