Don't delete context's own record when deleting context resources

This commit is contained in:
baldurk
2018-06-19 16:39:21 +01:00
parent fe910c4eab
commit 082c5e3d07
+1 -1
View File
@@ -106,7 +106,7 @@ public:
size_t count = 0;
for(auto it = m_CurrentResourceIds.begin(); it != m_CurrentResourceIds.end(); it++)
{
if(it->first.ContextShareGroup == context)
if(it->first.ContextShareGroup == context && it->first.Namespace != eResSpecial)
{
++count;
ResourceId res = it->second;