From 7f0403e48754bdb9a8ffb8ffafc0a2bf4246f38a Mon Sep 17 00:00:00 2001 From: ineed bots Date: Fri, 15 Sep 2023 18:27:48 -0600 Subject: [PATCH] Fix this issue --- src/codsrc/clientscript/cscr_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codsrc/clientscript/cscr_compiler.cpp b/src/codsrc/clientscript/cscr_compiler.cpp index bdc27e5..5d394cc 100644 --- a/src/codsrc/clientscript/cscr_compiler.cpp +++ b/src/codsrc/clientscript/cscr_compiler.cpp @@ -1563,7 +1563,7 @@ LABEL_17: if ( game::gScrCompilePub[inst].developer_statement == 2 ) { - game::Scr_CompileRemoveRefToString(inst, func.node[1].type); + game::Scr_CompileRemoveRefToString(inst, func.node[1].stringValue); if ( func.node[0].type != game::ENUM_far_function ) {