diff options
Diffstat (limited to 'web/js/nms-map.js')
-rw-r--r-- | web/js/nms-map.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/nms-map.js b/web/js/nms-map.js index 224b3db..94e0173 100644 --- a/web/js/nms-map.js +++ b/web/js/nms-map.js @@ -408,7 +408,7 @@ nmsMap._drawBox = function(ctx, x, y, boxw, boxh) { }; nmsMap._connectSwitches = function(sw1, sw2, color1, color2) { - nmsMap._connectBoxes(this._getBox(sw1), this._getBox(sw2), + nmsMap._connectBoxes(nmsMap._getBox(sw1), nmsMap._getBox(sw2), color1, color2); }; |