Skip to content

Commit 51d1946

Browse files
committed
Fixed dbConnect not working with sqlite
1 parent fbedf27 commit 51d1946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/mods/deathmatch/logic/luadefs/CLuaDatabaseDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ int CLuaDatabaseDefs::DbConnect ( lua_State* luaVM )
254254

255255
// Parse path
256256
CResource* pPathResource = pThisResource;
257-
if ( CResourceManager::ParseResourcePathInput ( strHost, pPathResource, &strHost ) )
257+
if ( CResourceManager::ParseResourcePathInput ( strHost, pPathResource, &strAbsPath ) )
258258
{
259259
strHost = strAbsPath;
260260
CheckCanModifyOtherResource( argStream, pThisResource, pPathResource );

0 commit comments

Comments
 (0)