summaryrefslogtreecommitdiff
path: root/src/script/api/script_controller.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_controller.hpp')
-rw-r--r--src/script/api/script_controller.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/api/script_controller.hpp b/src/script/api/script_controller.hpp
index 03d8604ec..9ab73ae0f 100644
--- a/src/script/api/script_controller.hpp
+++ b/src/script/api/script_controller.hpp
@@ -12,6 +12,7 @@
#ifndef SCRIPT_CONTROLLER_HPP
#define SCRIPT_CONTROLLER_HPP
+#include "../../company_type.h"
#include "../../core/string_compare_type.hpp"
#include <map>
@@ -28,8 +29,9 @@ class ScriptController {
public:
/**
* Initializer of the ScriptController.
+ * @param company The company this Script is normally serving.
*/
- ScriptController();
+ ScriptController(CompanyID company);
/**
* Destructor of the ScriptController.