mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Change: Limit total script ops that can be consumed by a list valuate (#11670)
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
|
||||
#include "script_object.hpp"
|
||||
|
||||
/** Maximum number of operations allowed for valuating a list. */
|
||||
static const int MAX_VALUATE_OPS = 500000;
|
||||
|
||||
class ScriptListSorter;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user