mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Add game mutable protection
This commit is contained in:
@@ -648,7 +648,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
auto& scriptEngine = GetContext()->GetScriptEngine();
|
||||
auto& execInfo = scriptEngine.GetExecInfo();
|
||||
{
|
||||
ScriptExecutionInfo::PluginScope scope(execInfo, owner);
|
||||
ScriptExecutionInfo::PluginScope scope(execInfo, owner, false);
|
||||
dukHandler.push();
|
||||
for (const auto& arg : args)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user