Small fix
This commit is contained in:
parent
3a5d262691
commit
33088d070b
@ -40,6 +40,8 @@ namespace scripting::lua
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!i->is_deleted)
|
||||||
|
{
|
||||||
if (!has_built_arguments)
|
if (!has_built_arguments)
|
||||||
{
|
{
|
||||||
has_built_arguments = true;
|
has_built_arguments = true;
|
||||||
@ -47,6 +49,7 @@ namespace scripting::lua
|
|||||||
}
|
}
|
||||||
|
|
||||||
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…
x
Reference in New Issue
Block a user