Mercurial > traipse_dev
diff orpg/mapper/miniatures.py @ 21:fdd70f11bc7e traipse_dev
One too many deletes last time. This run tested on Linux and working
author | sirebral |
---|---|
date | Sat, 25 Jul 2009 19:28:21 -0500 |
parents | 072ffc1d466f |
children | 449a8900f9ac |
line wrap: on
line diff
--- a/orpg/mapper/miniatures.py Sat Jul 25 19:23:25 2009 -0500 +++ b/orpg/mapper/miniatures.py Sat Jul 25 19:28:21 2009 -0500 @@ -614,7 +614,8 @@ for c in children: action = c.getAttribute("action") id = c.getAttribute('id') - if action == "del": mini = self.get_miniature_by_id(id) + if action == "del": + mini = self.get_miniature_by_id(id) if mini: self.miniatures.remove(mini) del mini