bool Project::LoadUserPrefs() { ToolSystem* tsystem = GetSubsystem<ToolSystem>(); String path = GetProjectPath() + "UserPrefs.json"; userPrefs_->Load(path); // If we're in CLI mode, the Build folder is always relative to project if (tsystem->IsCLI()) { String path = GetPath(projectFilePath_) + "Build"; userPrefs_->SetLastBuildPath(path); } return true; }