summaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/mapeditor.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/mapeditor.php b/pages/mapeditor.php
index 9e1e57c..b6f4b57 100644
--- a/pages/mapeditor.php
+++ b/pages/mapeditor.php
@@ -180,8 +180,8 @@ function updateName() {
}
function changeDimensions(width, height) {
- width = Math.Min(width, 50);
- height = Math.Min(height, 50);
+ width = Math.min(width, 50);
+ height = Math.min(height, 50);
testMap.tiles = constructTiles(width, height, testMap);
//testMap.tiles[0][3] = Array('s');