why don't you do this by default

This commit is contained in:
Mythril382 2024-04-12 12:15:32 +08:00 committed by GitHub
parent 05d499fb18
commit 63783a1795
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2046,7 +2046,7 @@ public class LExecutor{
if(positional){ if(positional){
sound.sound.at(World.unconv(exec.numf(x)), World.unconv(exec.numf(y)), exec.numf(pitch), exec.numf(volume)); sound.sound.at(World.unconv(exec.numf(x)), World.unconv(exec.numf(y)), exec.numf(pitch), exec.numf(volume));
}else{ }else{
sound.sound.play(exec.numf(volume), exec.numf(pitch), exec.numf(pan)); sound.sound.play(exec.numf(volume) * Core.audio.sfxVolume, exec.numf(pitch), exec.numf(pan));
} }
} }
} }