mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Merge remote-tracking branch 'origin/Development' into Development
This commit is contained in:
@@ -25,7 +25,7 @@ public final class SendChallengeView extends View {
|
||||
private final GameInformation.Player playerInformation;
|
||||
|
||||
public SendChallengeView(Server server, String opponent, BiConsumer<GameInformation.Player, String> onSend) {
|
||||
super(true, "bg-popup");
|
||||
super(false, "bg-popup");
|
||||
|
||||
this.server = server;
|
||||
this.opponent = opponent;
|
||||
|
||||
@@ -175,7 +175,9 @@ public class MusicManager<T extends AudioResource> implements org.toop.framework
|
||||
|
||||
public void previous() {
|
||||
if (backgroundMusic.isEmpty()) return;
|
||||
if (playingIndex == 0) return;
|
||||
if (playingIndex == 0) {
|
||||
playingIndex = backgroundMusic.size();
|
||||
}
|
||||
stop();
|
||||
scheduler.shutdownNow();
|
||||
playingIndex = playingIndex - 1;
|
||||
|
||||
Reference in New Issue
Block a user