summaryrefslogtreecommitdiff
path: root/src/script/api/script_info_docs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_info_docs.hpp')
-rw-r--r--src/script/api/script_info_docs.hpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/script/api/script_info_docs.hpp b/src/script/api/script_info_docs.hpp
index 28f2b53f0..10d2f09f7 100644
--- a/src/script/api/script_info_docs.hpp
+++ b/src/script/api/script_info_docs.hpp
@@ -22,7 +22,7 @@
* the information here can be used for libraries, but the information
* will not be shown in the GUI except for error/debug messages.
*
- * @api ai
+ * @api ai game
*/
class ScriptInfo {
public:
@@ -151,13 +151,12 @@ public:
* and not the bugfix number as valid return for this function.
*
* Valid return values are:
- * - "0.7"
- * - "1.0"
- * - "1.1"
- * - "1.2"
+ * - "0.7" (for AI only)
+ * - "1.0" (for AI only)
+ * - "1.1" (for AI only)
+ * - "1.2" (for both AI and GS)
*
* @return The version this Script is compatible with.
- * @note This function is optional.
*/
string GetAPIVersion();