fix old skin sounds being used when changing skins
This commit is contained in:
parent
40268c3232
commit
a69d334dfe
|
@ -20,6 +20,7 @@ package itdelatrisu.opsu;
|
|||
|
||||
import awlex.ospu.polymover.factory.PolyMoverFactory;
|
||||
import itdelatrisu.opsu.audio.MusicController;
|
||||
import itdelatrisu.opsu.audio.SoundController;
|
||||
import itdelatrisu.opsu.beatmap.Beatmap;
|
||||
import itdelatrisu.opsu.beatmap.TimingPoint;
|
||||
import itdelatrisu.opsu.skins.Skin;
|
||||
|
@ -377,6 +378,7 @@ public class Options {
|
|||
public void clickListItem(int index) {
|
||||
skinName = skinDirs[index];
|
||||
loadSkin();
|
||||
SoundController.init();
|
||||
EventBus.instance.post(new ResolutionChangedEvent(DisplayContainer.instance.width, DisplayContainer.instance.height));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user