Author: esr
Date: Thu Oct 16 22:27:48 2008
New Revision: 30212

URL: http://svn.gna.org/viewcvs/wesnoth?rev=30212&view=rev
Log:
trackplacer: fix a small but fatal bug.

Modified:
    trunk/data/tools/trackplacer

Modified: trunk/data/tools/trackplacer
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/trackplacer?rev=30212&r1=30211&r2=30212&view=diff
==============================================================================
--- trunk/data/tools/trackplacer (original)
+++ trunk/data/tools/trackplacer Thu Oct 16 22:27:48 2008
@@ -189,7 +189,8 @@
             raise IOException("Reading with tracks nonempty.", fp.name)
         if fp.name.endswith(".png") or fp.name.endswith(".jpg"):
             self.mapfile = self.properties['map'] = fp.name
-            self.add_track("JOURNEY")
+            self.selected_id = "JOURNEY"
+            self.add_track(self.selected_id)
             self.modified = 0
             return
         if not fp.name.endswith(".cfg"):


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to