core: Fix build

This commit is contained in:
CUB3D 2020-07-26 11:59:57 +01:00 committed by Mike Welsh
parent adb9af5a62
commit 01b7e73459
1 changed files with 2 additions and 2 deletions

View File

@ -579,11 +579,11 @@ impl<'gc> TObject<'gc> for FunctionObject<'gc> {
) -> Result<Value<'gc>, Error<'gc>> {
if let Some(exec) = &self.data.read().constructor {
exec.exec(
name,
"[ctor]",
activation,
context,
this,
base_proto,
None,
args,
ExecutionReason::FunctionCall,
(*self).into(),