This commit is contained in:
Samir Badi 2024-11-08 10:02:40 -05:00
parent a4489d8185
commit 10ed6cb2ea
2 changed files with 2 additions and 2 deletions

View File

@ -1379,7 +1379,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!114 &461561937
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -47,7 +47,7 @@ namespace GameOff.Core
{
bool isQuiz = _currentState is PlayerQuizState;
ChangeState(isQuiz ? _classState: _quizState);
OnStateUpdate?.Invoke(this, isQuiz);
OnStateUpdate?.Invoke(this, !isQuiz);
}
private void ChangeState(IState next)