summaryrefslogtreecommitdiff
path: root/src/emap/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/script.c')
-rw-r--r--src/emap/script.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emap/script.c b/src/emap/script.c
index 9f19693..e3ad3ed 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -79,6 +79,13 @@ void escript_load_parameters_pre(void)
script->constdb_comment(NULL);
}
+void escript_hardcoded_constants_pre(void)
+{
+ script->constdb_comment("Evol constants");
+ script->set_constant("MAX_SLOTS", MAX_SLOTS, false, false);
+ script->constdb_comment(NULL);
+}
+
// stripped copy from script_load_translations without actual translation loading.
void escript_load_translations_pre(void)
{