Don't freak out preloading clips if the manager failed to initialize.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4130 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -39,7 +39,9 @@ public class SoundGroup
|
||||
*/
|
||||
public void preloadClip (String path)
|
||||
{
|
||||
_manager.getClip(_provider, path);
|
||||
if (_manager.isInitialized()) {
|
||||
_manager.getClip(_provider, path);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user