Fixed linux compile error

This commit is contained in:
smallmodel 2023-08-19 21:21:41 +02:00
parent 482536ff1c
commit de08fe7ca3
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -2968,7 +2968,8 @@ bool Listener::ProcessEvent( const Event &ev )
{
try
{
return ProcessScriptEvent(Event(ev));
Event event(ev);
return ProcessScriptEvent(event);
}
catch (ScriptException& exc)
{