mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-04 15:27:19 +07:00
Boss music for non-wave guardians (#9964)
* why do I hear guardian music * Update contributors * format * switch up * switch up * why * no traces left behind
This commit is contained in:
@ -167,3 +167,4 @@ Redstonneur1256
|
|||||||
ApsZoldat
|
ApsZoldat
|
||||||
hexagon-recursion
|
hexagon-recursion
|
||||||
JasonP01
|
JasonP01
|
||||||
|
BlueTheCube
|
||||||
|
@ -213,7 +213,9 @@ public class SoundControl{
|
|||||||
|
|
||||||
/** Plays a random track.*/
|
/** Plays a random track.*/
|
||||||
public void playRandom(){
|
public void playRandom(){
|
||||||
if(isDark()){
|
if(state.boss() != null){
|
||||||
|
playOnce(bossMusic.random(lastRandomPlayed));
|
||||||
|
}else if(isDark()){
|
||||||
playOnce(darkMusic.random(lastRandomPlayed));
|
playOnce(darkMusic.random(lastRandomPlayed));
|
||||||
}else{
|
}else{
|
||||||
playOnce(ambientMusic.random(lastRandomPlayed));
|
playOnce(ambientMusic.random(lastRandomPlayed));
|
||||||
|
Reference in New Issue
Block a user