Skip to main content

script_runtime_set_max_array_size

Function script_runtime_set_max_array_size 

Source
pub fn script_runtime_set_max_array_size(
    runtime: &mut ScriptRuntime,
    max: usize,
)
Expand description

Sets the largest array a script may build, which also bounds how many commands one tick may produce. 0 removes the limit.