Small fix

This commit is contained in:
Federico Cecchetto 2022-08-01 22:20:28 +02:00
parent 3a5d262691
commit 33088d070b

View File

@ -40,6 +40,8 @@ namespace scripting::lua
continue;
}
if (!i->is_deleted)
{
if (!has_built_arguments)
{
has_built_arguments = true;
@ -47,6 +49,7 @@ namespace scripting::lua
}
handle_error(i->callback(sol::as_args(arguments)));
}
if (i->is_volatile || i->is_deleted)
{