Mercurial > traipse_dev
diff orpg/mapper/map_handler.py @ 20:072ffc1d466f traipse_dev
2nd attempt. Still untested.
author | sirebral |
---|---|
date | Sat, 25 Jul 2009 19:23:25 -0500 |
parents | 78407d627cba |
children | c54768cffbd4 |
line wrap: on
line diff
--- a/orpg/mapper/map_handler.py Sat Jul 25 17:24:40 2009 -0500 +++ b/orpg/mapper/map_handler.py Sat Jul 25 19:23:25 2009 -0500 @@ -67,11 +67,8 @@ if (session.my_role() != session.ROLE_GM): open_rpg.get_component("chat").InfoPost("You must be a GM to use this feature") return - try: - size = (int(self.width.GetValue()),int(self.height.GetValue())) - except: - wx.MessageBox("Invalide Map Size!","Map Properties") - return + try: size = (int(self.width.GetValue()),int(self.height.GetValue())) + except: wx.MessageBox("Invalid Map Size!","Map Properties"); return self.canvas.set_size(size) self.update_info() self.canvas.send_map_data()