Skip to content

Commit 2b7aa77

Browse files
Synchronize changes from 1.6 master branch [ci skip]
1c7c721 Fix refresh restarting resources (#4469) f864cf7 Update client en_US pot
2 parents 52a91a8 + 1c7c721 commit 2b7aa77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/mods/deathmatch/logic/CResourceManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ bool CResourceManager::Refresh(bool bRefreshAll, const SString strJustThisResour
184184
// Add the resource
185185
Load(!info.bIsDir, info.strAbsPath, info.strName);
186186
}
187-
else if (pResource && pResource->HasResourceChanged())
187+
else if (bRefreshAll && pResource && pResource->HasResourceChanged())
188188
{
189189
if (g_pServerInterface->IsRequestingExit())
190190
return false;

0 commit comments

Comments
 (0)