Skip to content

Commit

Permalink
fix(zscript): issues running destructors
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyV99 authored and connorjclark committed Dec 14, 2023
1 parent 74a8124 commit 7d0dc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user_object.cpp
Expand Up @@ -101,7 +101,7 @@ void scr_func_exec::execute()
// Either it did, or it was auto-correctable
push_ri(); //Store the prior script state
// Setup the refInfo/stack/global vars for the destructor script state
refInfo newRI;
refInfo newRI = refInfo();
ri = &newRI;
ri->pc = pc;
ri->thiskey = thiskey;
Expand Down

0 comments on commit 7d0dc52

Please sign in to comment.