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>> { ) -> Result<Value<'gc>, Error<'gc>> {
if let Some(exec) = &self.data.read().constructor { if let Some(exec) = &self.data.read().constructor {
exec.exec( exec.exec(
name, "[ctor]",
activation, activation,
context, context,
this, this,
base_proto, None,
args, args,
ExecutionReason::FunctionCall, ExecutionReason::FunctionCall,
(*self).into(), (*self).into(),