mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-26 06:22:17 -08: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:
parent
5376ea1f17
commit
93d2f60b56
2 changed files with 4 additions and 1 deletions
|
|
@ -167,3 +167,4 @@ Redstonneur1256
|
|||
ApsZoldat
|
||||
hexagon-recursion
|
||||
JasonP01
|
||||
BlueTheCube
|
||||
|
|
|
|||
|
|
@ -213,7 +213,9 @@ public class SoundControl{
|
|||
|
||||
/** Plays a random track.*/
|
||||
public void playRandom(){
|
||||
if(isDark()){
|
||||
if(state.boss() != null){
|
||||
playOnce(bossMusic.random(lastRandomPlayed));
|
||||
}else if(isDark()){
|
||||
playOnce(darkMusic.random(lastRandomPlayed));
|
||||
}else{
|
||||
playOnce(ambientMusic.random(lastRandomPlayed));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue