diff --git a/planet/Tutorials.ocf/PlayGround.ocs/SpawnMenu.ocd/DefCore.txt b/planet/Tutorials.ocf/PlayGround.ocs/SpawnMenu.ocd/DefCore.txt index c4a2bd223..141faab1d 100644 --- a/planet/Tutorials.ocf/PlayGround.ocs/SpawnMenu.ocd/DefCore.txt +++ b/planet/Tutorials.ocf/PlayGround.ocs/SpawnMenu.ocd/DefCore.txt @@ -2,3 +2,4 @@ id=GUI_SpawnMenu Version=5,4,0,0 Category=C4D_StaticBack +HideInCreator=true diff --git a/planet/Tutorials.ocf/PlayGround.ocs/System.ocg/SpawnMenu.c b/planet/Tutorials.ocf/PlayGround.ocs/System.ocg/SpawnMenu.c index 1037cf6fc..0dad7d14c 100644 --- a/planet/Tutorials.ocf/PlayGround.ocs/System.ocg/SpawnMenu.c +++ b/planet/Tutorials.ocf/PlayGround.ocs/System.ocg/SpawnMenu.c @@ -14,7 +14,7 @@ public func ObjectControl(int plr, int ctrl, int x, int y, int strength, bool re if (GetMenu()) { var is_spawn = GetMenu()->~IsSpawnMenu(); - // unclosable menu? bad luck + // unclosable menu? bad luck. if (!TryCancelMenu()) return true; // If contents menu, don't open new one and return. if (is_spawn) @@ -23,9 +23,9 @@ public func ObjectControl(int plr, int ctrl, int x, int y, int strength, bool re // Open contents menu. CancelUse(); GUI_SpawnMenu->CreateFor(this); - // the interaction menu calls SetMenu(this) in the clonk - // so after this call menu = the created menu - if(GetMenu()) + // The interaction menu calls SetMenu(this) in the clonk, + // so after this call menu = the created menu. + if (GetMenu()) GetMenu()->~Show(); return true; } diff --git a/planet/Tutorials.ocf/Tutorial.ocd/TutorialArrow.ocd/DefCore.txt b/planet/Tutorials.ocf/Tutorial.ocd/TutorialArrow.ocd/DefCore.txt index c4159dfb6..61b753842 100644 --- a/planet/Tutorials.ocf/Tutorial.ocd/TutorialArrow.ocd/DefCore.txt +++ b/planet/Tutorials.ocf/Tutorial.ocd/TutorialArrow.ocd/DefCore.txt @@ -9,3 +9,4 @@ Vertices=1 VertexX=0 VertexY=-8 Rotate=1 +HideInCreator=true \ No newline at end of file diff --git a/planet/Tutorials.ocf/Tutorial.ocd/TutorialGuide.ocd/DefCore.txt b/planet/Tutorials.ocf/Tutorial.ocd/TutorialGuide.ocd/DefCore.txt index 1d4800e61..aedc13a8a 100644 --- a/planet/Tutorials.ocf/Tutorial.ocd/TutorialGuide.ocd/DefCore.txt +++ b/planet/Tutorials.ocf/Tutorial.ocd/TutorialGuide.ocd/DefCore.txt @@ -2,4 +2,5 @@ id=TutorialGuide Version=5,4,0,0 Category=C4D_StaticBack -Picture=0,0,64,64 \ No newline at end of file +Picture=0,0,64,64 +HideInCreator=true \ No newline at end of file