Changed arc sound backend
This commit is contained in:
@@ -88,6 +88,7 @@ public class ConstructBlock extends Block{
|
||||
}
|
||||
|
||||
Fx.placeBlock.at(tile.drawx(), tile.drawy(), block.size);
|
||||
if(shouldPlay()) Sounds.place.at(tile, calcPitch(true));
|
||||
}
|
||||
|
||||
static boolean shouldPlay(){
|
||||
@@ -121,7 +122,6 @@ public class ConstructBlock extends Block{
|
||||
}
|
||||
|
||||
Events.fire(new BlockBuildEndEvent(tile, builder, team, false, config));
|
||||
if(shouldPlay()) Sounds.place.at(tile, calcPitch(true));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user