diff --git a/src/Components/Modules/GSC/ScriptError.cpp b/src/Components/Modules/GSC/ScriptError.cpp index 0082d15f..8b4def7b 100644 --- a/src/Components/Modules/GSC/ScriptError.cpp +++ b/src/Components/Modules/GSC/ScriptError.cpp @@ -873,7 +873,7 @@ namespace Components::GSC { #ifdef SCRIPT_ERROR_PATCH std::vector> patches; - patches.resize(200); + patches.reserve(200); const auto p = [&patches](const std::size_t a, void* b) {