Skip to content

Commit d0e173d

Browse files
committed
Update EOSSettingsWindow.cs
Add return when no named deployment is found
1 parent 590dad9 commit d0e173d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Assets/Plugins/Source/Editor/EditorWindows/EOSSettingsWindow.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ private void Save()
257257
if(!ProductConfig.Get<ProductConfig>().Environments.TryGetFirstDefinedNamedDeployment(out var namedDep))
258258
{
259259
Debug.LogError($"{nameof(EOSSettingsWindow)} {nameof(Save)}: No named deployment found for current platform tab: {_platformConfigEditors[_selectedTab].GetPlatform()}");
260+
return;
260261
}
261262
// Save each of the platform config editors.
262263
foreach (IConfigEditor editor in _platformConfigEditors)

0 commit comments

Comments
 (0)