From e06a666fa2e21de5c90acb226e6c6a2f5e791654 Mon Sep 17 00:00:00 2001 From: glx22 Date: Fri, 10 Feb 2023 18:11:57 +0100 Subject: [PATCH] Fix: remove ScriptController constructor from API documentation --- src/script/api/script_controller.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/script/api/script_controller.hpp b/src/script/api/script_controller.hpp index d0bb129e9d..89d46f8c90 100644 --- a/src/script/api/script_controller.hpp +++ b/src/script/api/script_controller.hpp @@ -48,6 +48,7 @@ class ScriptController { friend class ScriptInstance; public: +#ifndef DOXYGEN_API /** * Initializer of the ScriptController. * @param company The company this Script is normally serving. @@ -59,6 +60,7 @@ public: */ ~ScriptController(); +#else /** * This function is called to start your script. Your script starts here. If you * return from this function, your script dies, so make sure that doesn't @@ -67,7 +69,6 @@ public: */ void Start(); -#ifdef DOXYGEN_API /** * Save the state of the script. *