Don't append clips to the queue if we didn't start up successfully.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1612 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-07-24 21:39:43 +00:00
parent f930d53cdd
commit 146014344e
@@ -1,5 +1,5 @@
//
// $Id: SoundManager.java,v 1.1 2002/07/24 21:28:09 shaper Exp $
// $Id: SoundManager.java,v 1.2 2002/07/24 21:39:43 shaper Exp $
package com.threerings.media;
@@ -68,8 +68,10 @@ public class SoundManager
*/
public void play (String path)
{
Log.debug("Queueing sound [path=" + path + "].");
_clips.append(path);
if (_player != null) {
Log.debug("Queueing sound [path=" + path + "].");
_clips.append(path);
}
}
/**