diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-06-12 13:46:01 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-06-12 13:46:01 -0700 |
commit | 6200fe3fad7e3630410ed1e6d18203a9ec80a155 (patch) | |
tree | 0fc699438017439a1da987ff1780d16876c35e12 /pages/mapeditor.php | |
parent | 07e94c2eb5f36fd295204f4e4e81ce813c1f2150 (diff) | |
parent | 3a65ace8a32fa2c584adee4e75a0eccc9ee37208 (diff) | |
download | pathery-6200fe3fad7e3630410ed1e6d18203a9ec80a155.tar.xz |
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'pages/mapeditor.php')
-rw-r--r-- | pages/mapeditor.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/mapeditor.php b/pages/mapeditor.php index b86aa14..9e1e57c 100644 --- a/pages/mapeditor.php +++ b/pages/mapeditor.php @@ -180,6 +180,8 @@ function updateName() { } function changeDimensions(width, height) { + width = Math.Min(width, 50); + height = Math.Min(height, 50); testMap.tiles = constructTiles(width, height, testMap); //testMap.tiles[0][3] = Array('s'); |