Allow lack of Game Settings in Editor

This commit is contained in:
Wojtek Figat
2021-03-14 23:58:19 +01:00
parent b2c824b77e
commit afea02d92f

View File

@@ -98,7 +98,12 @@ bool GameSettings::Load()
auto settings = Get();
if (!settings)
{
#if USE_EDITOR
// Allow lack of Game Settings in Editor
return false;
#else
return true;
#endif
}
// Preload all settings assets