refactor: enhance GameStateStore integration and improve skill management
This commit is contained in:
@@ -13,7 +13,8 @@ public partial class SpeedRunEventHandler : Node
|
||||
|
||||
public override void _ExitTree()
|
||||
{
|
||||
EventBus.Instance.LevelCompleted -= OnLevelCompleted;
|
||||
if (EventBus.Instance != null)
|
||||
EventBus.Instance.LevelCompleted -= OnLevelCompleted;
|
||||
}
|
||||
|
||||
private void OnLevelCompleted(int levelIndex, Node currentScene, double completionTime)
|
||||
|
||||
Reference in New Issue
Block a user