File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
com.playeveryware.eos/Runtime/Core/Config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,9 +155,9 @@ protected override void OnReadCompleted()
155155 protected override void BeforeWrite ( )
156156 {
157157 // If there is one deployment, and one sandbox, then make sure they
158- // are linked to each other.
158+ // are linked to each other if the sandbox is not empty .
159159 // But only do this if they have been newly added
160- if ( ! _deploymentDefined && Environments . Deployments . Count == 1 && Environments . Sandboxes . Count == 1 )
160+ if ( ! _deploymentDefined && Environments . Deployments . Count == 1 && Environments . Sandboxes . Count == 1 && ! Environments . Sandboxes [ 0 ] . Value . IsEmpty )
161161 {
162162 Environments . Deployments [ 0 ] . Value . SandboxId = Environments . Sandboxes [ 0 ] . Value ;
163163 }
You can’t perform that action at this time.
0 commit comments