Skip to content

Commit 597443d

Browse files
Merge pull request livecode#6539 from livecodeian/bugfix-21297
[[ Bug 21297 ]] Fix issue with importing foreign value types that require conversion
2 parents b4c0b07 + 07f09f1 commit 597443d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/lcb/notes/21297.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# [21297] Fix issue with importing foreign value types that require conversion

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)