This commit is contained in:
Mythril382 2024-04-12 14:03:32 +08:00 committed by GitHub
parent c77b866e56
commit 74cf56d43c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2046,7 +2046,7 @@ public class LExecutor{
if(positional){
sound.sound.at(World.unconv(exec.numf(x)), World.unconv(exec.numf(y)), exec.numf(pitch), exec.numf(volume));
}else{
sound.sound.play(exec.numf(volume), exec.numf(pitch), exec.numf(pan));
sound.sound.play(exec.numf(volume) * (Core.settings.getInt("sfxvol") / 100f), exec.numf(pitch), exec.numf(pan));
}
}
}