diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-06 01:47:20 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-06 01:47:20 -0800 |
commit | ab36b3bfff1b0c4d6e6398b1e968e41f436373b3 (patch) | |
tree | 1ad48dcdbedd809cd1e15c7f88924dd294705825 /js | |
parent | 81596179bcfc00b7428e238ab619875e7accb52a (diff) | |
download | pathery-ab36b3bfff1b0c4d6e6398b1e968e41f436373b3.tar.xz |
mapeditor Go button fix.
Diffstat (limited to 'js')
-rw-r--r-- | js/mapspecs.js | 2 |
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;
}
|