Fixed sound instruction layout
This commit is contained in:
@@ -94,7 +94,7 @@ public class GlobalVars{
|
||||
//sounds
|
||||
if(Core.assets != null){
|
||||
for(Sound sound : Core.assets.getAll(Sound.class, new Seq<>(Sound.class))){
|
||||
if(sound != Sounds.none && sound != Sounds.swish){
|
||||
if(sound != Sounds.none && sound != Sounds.swish && sound.file != null){
|
||||
String name = sound.file.nameWithoutExtension();
|
||||
soundNames.add(name);
|
||||
put("@sfx-" + name, Sounds.getSoundId(sound));
|
||||
|
||||
Reference in New Issue
Block a user