mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-31 01:44:22 +07:00
why don't you do this by default
This commit is contained in:
parent
05d499fb18
commit
63783a1795
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user