Skip to content

Commit 050c547

Browse files
committed
Fix Linux compilation
1 parent 4222462 commit 050c547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/sdk/CScriptArgReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ class CScriptArgReader
10051005

10061006
if (keyType == LUA_TSTRING && (valueType == LUA_TSTRING || valueType == LUA_TNUMBER))
10071007
{
1008-
outMap.insert({ lua_tostring(m_luaVM, -2), lua_tostring(m_luaVM, -1) });
1008+
outMap.insert({ SStringX(lua_tostring(m_luaVM, -2)), SStringX(lua_tostring(m_luaVM, -1)) });
10091009
lua_pop(m_luaVM, 1);
10101010
}
10111011
}

0 commit comments

Comments
 (0)