summaryrefslogtreecommitdiffstats
path: root/js/mapspecs.js
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-03-06 01:47:20 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-03-06 01:47:20 -0800
commitab36b3bfff1b0c4d6e6398b1e968e41f436373b3 (patch)
tree1ad48dcdbedd809cd1e15c7f88924dd294705825 /js/mapspecs.js
parent81596179bcfc00b7428e238ab619875e7accb52a (diff)
downloadpathery-ab36b3bfff1b0c4d6e6398b1e968e41f436373b3.tar.xz
mapeditor Go button fix.
Diffstat (limited to 'js/mapspecs.js')
-rw-r--r--js/mapspecs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mapspecs.js b/js/mapspecs.js
index 443ddfe..ecc5c9d 100644
--- a/js/mapspecs.js
+++ b/js/mapspecs.js
@@ -93,7 +93,7 @@ function grid_click(obj) {
x = tmp[2];
- if(mapdata[mapid].editMap == true) {
+ if(typeof(mapdata[mapid]) == 'Object' && mapdata[mapid].editMap == true) {
mapClick(obj);
return;
}