Let's remove the path controller when we cancel our move

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@111 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mark Johnson
2007-01-19 18:14:43 +00:00
parent 0a5a13302c
commit 86645aa41e
@@ -146,6 +146,7 @@ public class Sprite extends Node
if (_path != null) {
Path oldpath = _path;
_path = null;
removeController(oldpath);
oldpath.wasRemoved();
if (_observers != null) {
_observers.apply(new CancelledOp(this, oldpath));