diff options
Diffstat (limited to 'js/mapspecs.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;
}
|