update btc scripts

This commit is contained in:
Nadine Ganz 2025-05-12 17:30:04 +02:00
parent 2c3bb4157f
commit a48c4f42cb
2 changed files with 2 additions and 8 deletions

View File

@ -1243,8 +1243,7 @@ public class BTC : MonoBehaviour {
} else { } else {
Task.SetFailed(); Task.SetFailed();
return; return;
} }
break;
case NodeState.Aborting: case NodeState.Aborting:
case NodeState.NotRunning: case NodeState.NotRunning:
break; break;
@ -1319,8 +1318,7 @@ public class BTC : MonoBehaviour {
} else { } else {
Task.SetFailed(); Task.SetFailed();
return; return;
} }
break;
case NodeState.Aborting: case NodeState.Aborting:
case NodeState.NotRunning: case NodeState.NotRunning:
break; break;

View File

@ -188,10 +188,6 @@ public class NamedDepthkitPlayer : ComponentHandler {
break; break;
*/ */
case NodeState.Aborting: case NodeState.Aborting:
if (mediaPlayer != null)
{
mediaPlayer.CloseMedia();
}
break; break;
case NodeState.NotRunning: case NodeState.NotRunning:
break; break;