Play click sound in menu
This commit is contained in:
parent
d7a877b8a6
commit
1a0378eb57
@ -67,6 +67,8 @@ public class MenuPanel extends JPanel {
|
||||
public void valueChanged(ListSelectionEvent event) {
|
||||
if (event.getValueIsAdjusting()) return;
|
||||
|
||||
Sound.CLICK.play();
|
||||
|
||||
final int index = menuList.getSelectedIndex();
|
||||
switch (index) {
|
||||
case 0: // Create server
|
||||
|
Loading…
Reference in New Issue
Block a user