changeset 142:816b17db2bec

- small fix for editor maploader plugin - it passed a (never used) param to loadMapFile()
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 05 Oct 2008 15:27:31 +0000
parents 5e85737281bc
children fe7ff4808529
files clients/editor/plugins/maploader.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/clients/editor/plugins/maploader.py	Fri Oct 03 12:14:39 2008 +0000
+++ b/clients/editor/plugins/maploader.py	Sun Oct 05 15:27:31 2008 +0000
@@ -22,7 +22,8 @@
 
 	def loadFile(self, path, filename):
 		content = path.split('/')
-		self.newMap = loadMapFile('/'.join([path, filename]), self.engine, '/'.join(content) + '/')
+		print content
+		self.newMap = loadMapFile('/'.join([path, filename]), self.engine)
 
 class MapSaver(plugin.Plugin):
 	def __init__(self, engine):