diff --git a/source/UI/js/Map/Map.js b/source/UI/js/Map/Map.js index 9e5dc936..236654d5 100644 --- a/source/UI/js/Map/Map.js +++ b/source/UI/js/Map/Map.js @@ -1153,7 +1153,8 @@ Ox.Map = function(options, self) { } function pan(x, y) { - self.map.panBy(x * self.$map.width() / 2, y * self.$map.height() / 2); + console.log(x, y, self.$map.width()) + self.map.panBy([x * self.$map.width() / 2, y * self.$map.height() / 2]); }; function panToPlace() {