im not even sure if this is reliable
This commit is contained in:
@@ -92,11 +92,13 @@ public class GlobalVars{
|
|||||||
put("@ctrlCommand", ctrlCommand);
|
put("@ctrlCommand", ctrlCommand);
|
||||||
|
|
||||||
//sounds
|
//sounds
|
||||||
for(Sound sound : Core.assets.getAll(Sound.class, new Seq<>(Sound.class))){
|
if(Core.assets != null){
|
||||||
if(sound != Sounds.none && sound != Sounds.swish){
|
for(Sound sound : Core.assets.getAll(Sound.class, new Seq<>(Sound.class))){
|
||||||
String name = sound.file.nameWithoutExtension();
|
if(sound != Sounds.none && sound != Sounds.swish){
|
||||||
soundNames.add(name);
|
String name = sound.file.nameWithoutExtension();
|
||||||
put("@sfx-" + name, Sounds.getSoundId(sound));
|
soundNames.add(name);
|
||||||
|
put("@sfx-" + name, Sounds.getSoundId(sound));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user