Skip to content

Commit

Permalink
i'll do this thing before i forget to do it when i'm publishing the r…
Browse files Browse the repository at this point in the history
…elease
  • Loading branch information
= committed Jul 11, 2024
1 parent c38cfc4 commit 3c43eaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mod.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ name: "sw"
author: "Uujuju"
main: "sw.ModLoader"
description: "A thing."
version: 1.0.Alpha1
version: 1.0.Alpha2
minGameVersion: 142
java: true
5 changes: 3 additions & 2 deletions src/sw/audio/ModMusic.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
import static mindustry.Vars.*;

public class ModMusic {
public static Music adventurers, steelSoul, descend;
public static Music adventurers, steelSoul, descend, cigarra;

public static void load() {
adventurers = loadMusic(tree.loadMusic("adventurers"), control.sound.ambientMusic);
steelSoul = loadMusic(tree.loadMusic("steelsoul"), control.sound.darkMusic);
descend = loadMusic(tree.loadMusic("descend"), control.sound.ambientMusic);
descend = loadMusic(tree.loadMusic("descend"), control.sound.darkMusic);
cigarra = loadMusic(tree.loadMusic("cigarra"), control.sound.ambientMusic);
}

public static Music loadMusic(Music music, Seq<Music> to) {
Expand Down

0 comments on commit 3c43eaa

Please sign in to comment.