From ad9e1a8fb391c22fd708de35d66560cf2aea9bc2 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 14 Aug 2022 22:10:03 +0100 Subject: [PATCH] Increase value of MAX_SL_OPS constant --- src/script/script_info.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/script_info.hpp b/src/script/script_info.hpp index c2e952b821..2d066a127d 100644 --- a/src/script/script_info.hpp +++ b/src/script/script_info.hpp @@ -16,7 +16,7 @@ #include "script_config.hpp" /** The maximum number of operations for saving or loading the data of a script. */ -static const int MAX_SL_OPS = 100000; +static const int MAX_SL_OPS = 2000000; /** The maximum number of operations for initial start of a script. */ static const int MAX_CONSTRUCTOR_OPS = 100000; /** Number of operations to create an instance of a script. */