We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public void StartGameAsMainMenu() { GameState = Enum_GameState.Main_Menuing; if (MainMenu != null && MainMenu.IsInsideTree()) { GetTree().Root.CallDeferred("remove_child", MainMenu); MainMenu = null; } MainMenu = _MainMenu.Instantiate(); GetTree().Root.CallDeferred("add_child", MainMenu); } GetTree().Root.CallDeferred("add_child", MainMenu);
===> MainMenu is null
GetTree().Root.CallDeferred("add_child", MainMenu); ===> MainMenu is null
GetTree().Root.CallDeferred("add_child", MainMenu);
The text was updated successfully, but these errors were encountered:
Please fill in all the sections properly, or ask in the forums if you are looking for support, this is for reporting bugs
Sorry, something went wrong.
No branches or pull requests
===> MainMenu is null
System information
GetTree().Root.CallDeferred("add_child", MainMenu); ===> MainMenu is null
Issue description
GetTree().Root.CallDeferred("add_child", MainMenu);
===> MainMenu is null
Steps to reproduce
GetTree().Root.CallDeferred("add_child", MainMenu);
===> MainMenu is null
Minimal reproduction project (MRP)
GetTree().Root.CallDeferred("add_child", MainMenu);
===> MainMenu is null
The text was updated successfully, but these errors were encountered: