Changed arc sound backend

This commit is contained in:
Anuken
2020-11-06 18:09:08 -05:00
parent fda2ed8b41
commit 0f31eb7d23
5 changed files with 4 additions and 4 deletions

View File

@@ -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