Skip to content

Commit 6fd4daf

Browse files
author
livecodeali
committed
[[ Bug ]] Initialise script frame mapping to nil
1 parent 53b2ff9 commit 6fd4daf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libscript/src/script-instance.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ static bool MCScriptCreateFrame(MCScriptFrame *p_caller, MCScriptInstanceRef p_i
616616
self -> instance = MCScriptRetainInstance(p_instance);
617617
self -> handler = p_handler;
618618
self -> address = p_handler -> start_address;
619+
self -> mapping = nil;
619620

620621
r_frame = self;
621622

0 commit comments

Comments
 (0)