Fixed core launch sound playing regardless of volume settings
This commit is contained in:
@@ -313,7 +313,7 @@ public class CoreBlock extends StorageBlock{
|
||||
}
|
||||
|
||||
if(!headless){
|
||||
(launching ? launchSound : landSound).play(launchSoundVolume);
|
||||
(launching ? launchSound : landSound).at(Core.camera.position, 1f, (launching ? launchSoundVolume : landSoundVolume));
|
||||
// Add fade-in and fade-out foreground when landing or launching.
|
||||
if(renderer.isLaunching()){
|
||||
float margin = 30f;
|
||||
|
||||
Reference in New Issue
Block a user