Skip to content

Commit e948ea5

Browse files
author
nitrocaster
committed
Replace "_G" to GlobalNamespace.
1 parent 2a81def commit e948ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrScriptEngine/script_engine_inline.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ IC void CScriptEngine::parse_script_namespace(LPCSTR function_to_call, LPSTR nam
3333
if (!I)
3434
break;
3535
}
36-
xr_strcpy(name_space, namespace_size, "_G");
36+
xr_strcpy(name_space, namespace_size, GlobalNamespace);
3737
if (!J)
3838
xr_strcpy(function, function_size, function_to_call);
3939
else

0 commit comments

Comments
 (0)