diff --git a/Fog.js b/Fog.js index 05c01e175..c6b50bffe 100644 --- a/Fog.js +++ b/Fog.js @@ -1388,11 +1388,11 @@ function redraw_light_walls(clear=true){ let doorType = (type == 1 || type == 3) ? `window` : `door`; - let locked = (type == 2 || type == 3 || type == 5) ? `locked` : ``; - let secret = (type == 4 || type == 5) ? `secret` : ``; - open = (/rgba.*0\.5\)/g).test(color) ? `open` : `closed`; + let locked = (type == 2 || type == 3 || type == 5) ? ` locked` : ``; + let secret = (type == 4 || type == 5) ? ` secret` : ``; + open = (/rgba.*0\.5\)/g).test(color) ? ` open` : ` closed`; if(window.DM || secret == ''){ - let openCloseDoorButton = $(`