Skip to content

Commit

Permalink
Actually set GDScript static reference
Browse files Browse the repository at this point in the history
(cherry picked from commit 0f1da72)
  • Loading branch information
vnen authored and RandomShaper committed Oct 29, 2020
1 parent e360dc9 commit 798ee98
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 @@ -386,6 +386,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 798ee98

Please sign in to comment.