Small fix
This commit is contained in:
parent
3a5d262691
commit
33088d070b
@ -40,13 +40,16 @@ namespace scripting::lua
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!has_built_arguments)
|
if (!i->is_deleted)
|
||||||
{
|
{
|
||||||
has_built_arguments = true;
|
if (!has_built_arguments)
|
||||||
arguments = this->build_arguments(event);
|
{
|
||||||
}
|
has_built_arguments = true;
|
||||||
|
arguments = this->build_arguments(event);
|
||||||
|
}
|
||||||
|
|
||||||
handle_error(i->callback(sol::as_args(arguments)));
|
handle_error(i->callback(sol::as_args(arguments)));
|
||||||
|
}
|
||||||
|
|
||||||
if (i->is_volatile || i->is_deleted)
|
if (i->is_volatile || i->is_deleted)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user