Fixed server_only compilation

This commit is contained in:
Deve 2018-03-14 21:43:28 +01:00
parent 4f51c9c915
commit 9c3998be0e

View File

@ -56,7 +56,9 @@ MaterialManager::MaterialManager()
*/
MaterialManager::~MaterialManager()
{
#ifndef SERVER_ONLY
SP::SPTextureManager::get()->stopThreads();
#endif
for(unsigned int i=0; i<m_materials.size(); i++)
{