This commit is contained in:
chi
2025-04-24 16:24:01 +09:00
parent f71b963851
commit 20dd87a9d0
55 changed files with 961 additions and 1085 deletions

View File

@@ -2,7 +2,7 @@
using COMM;
using System;
using System.Drawing;
using static Project.StateMachine;
using Project.StateMachine;
namespace Project
{
@@ -421,8 +421,8 @@ namespace Project
/// </summary>
void Update_Music()
{
if (PUB.mplayer != null && PUB.mplayer.HasAudio && PUB.bPlayMusic)
if (PUB.mplayer == null) return;
if (PUB.mplayer != null && !string.IsNullOrEmpty(PUB.mplayer.SoundLocation) && PUB.bPlayMusic)
{
if (PUB.AGV.system1.agv_run == false)
{
@@ -434,7 +434,7 @@ namespace Project
}
}
else if (PUB.setting.Enable_Music && PUB.mplayer != null && PUB.mplayer.HasAudio)
else if (PUB.setting.Enable_Music && PUB.mplayer != null && !string.IsNullOrEmpty(PUB.mplayer.SoundLocation))
{
if (PUB.AGV.system1.agv_run == true)
{