Compare commits

..

No commits in common. "33283a9a344aa7b339159a28312323e007ea3bf5" and "0a45c4fbbd2bc67f7be14cf58ebf327e4bb5d9fd" have entirely different histories.

View File

@ -75,12 +75,9 @@ namespace AxibugEmuOnline.Client.Tools
if (nextState == null) return;
if (m_current != null) m_current.OnExit(nextState);
var preState = m_current;
nextState.LastState = m_current;
nextState.OnEnter(m_current);
m_current = nextState;
m_current.LastState = preState;
m_current.OnEnter(preState);
}
public T GetState<T>() where T : State, new()