diff --git a/core/assets-raw/sprites/units/antumbra.png b/core/assets-raw/sprites/units/antumbra.png index 10af20cfb9..bbbcb480fe 100644 Binary files a/core/assets-raw/sprites/units/antumbra.png and b/core/assets-raw/sprites/units/antumbra.png differ diff --git a/core/src/mindustry/audio/SoundControl.java b/core/src/mindustry/audio/SoundControl.java index d407198f94..1441f42832 100644 --- a/core/src/mindustry/audio/SoundControl.java +++ b/core/src/mindustry/audio/SoundControl.java @@ -76,6 +76,8 @@ public class SoundControl{ sound.setBus(uiBus); } } + + Events.fire(new MusicRegisterEvent()); } public void loop(Sound sound, float volume){ diff --git a/core/src/mindustry/game/EventType.java b/core/src/mindustry/game/EventType.java index 66bc472c6f..91055acf87 100644 --- a/core/src/mindustry/game/EventType.java +++ b/core/src/mindustry/game/EventType.java @@ -70,6 +70,8 @@ public class EventType{ public static class ContentInitEvent{} /** Called when the client game is first loaded. */ public static class ClientLoadEvent{} + /** Called after SoundControl registers its music. */ + public static class MusicRegisterEvent{} /** Called *after* all the modded files have been added into Vars.tree */ public static class FileTreeInitEvent{} /** Called when a game begins and the world is loaded. */