Skip to content

Commit

Permalink
Actually set GDScript static reference
Browse files Browse the repository at this point in the history
  • Loading branch information
vnen committed May 29, 2020
1 parent ef5910e commit 0f1da72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/gdscript/gdscript_function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ Variant GDScriptFunction::call(GDScriptInstance *p_instance, const Variant **p_a
}
}

static_ref = script;

String err_text;

#ifdef DEBUG_ENABLED
Expand Down

0 comments on commit 0f1da72

Please sign in to comment.