summaryrefslogtreecommitdiffstats
path: root/js/mapspecs.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/mapspecs.js')
-rw-r--r--js/mapspecs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/mapspecs.js b/js/mapspecs.js
index d8b4ed3..4658aa3 100644
--- a/js/mapspecs.js
+++ b/js/mapspecs.js
@@ -147,6 +147,7 @@ function grid_click(obj) {
childdiv.setAttribute("class", "child w");
if (wallColor == false) setWallStyle(userObj);
+ if (wallColor == false) wallColor = '#666';
obj.style.backgroundColor = wallColor;
if (wallEmblem) {