Skip to content

Commit 151c6db

Browse files
committed
[[ Bug 21297 ]] Store converted value in global variable instead of original value
1 parent 01955ab commit 151c6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libscript/src/script-execute.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ MCScriptExecuteContext::CheckedStoreVariable(MCScriptInstanceRef p_instance,
672672

673673
StoreVariable(p_instance,
674674
p_definition,
675-
p_value);
675+
*t_converted_value);
676676
}
677677

678678
inline void

0 commit comments

Comments
 (0)