Skip to content

Commit e85353e

Browse files
authored
change erroneous isResourceArchived return from false to nil
1 parent 6697ca9 commit e85353e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,6 +1452,6 @@ int CLuaResourceDefs::isResourceArchived (lua_State* luaVM)
14521452
else
14531453
m_pScriptDebugging->LogCustom(luaVM, argStream.GetFullErrorMessage());
14541454

1455-
lua_pushboolean ( luaVM, false );
1455+
lua_pushnil ( luaVM );
14561456
return 1;
14571457
}

0 commit comments

Comments
 (0)