editor: ban 48*32 blocks in fgmap/bgmap
This commit is contained in:
1 parent
f0d5c04db5
commit
d1fdc2825d
2 files changed
+18
-9
No files matched your search
+8
-5
@@ -433,11 +433,14 @@ maps.prototype.drawMap = function (mapName, callback) {
|
||||
|
||||
}
|
||||
if (main.mode=='editor'){
|
||||
main.editor.drawMapBg = function(){
|
||||
core.clearMap('bg');
|
||||
core.clearMap('fg');
|
||||
drawBg();
|
||||
}
|
||||
// just do not run drawBg
|
||||
|
||||
// //---move to main.editor.updateMap
|
||||
// main.editor.drawMapBg = function(){
|
||||
// core.clearMap('bg');
|
||||
// core.clearMap('fg');
|
||||
// drawBg();
|
||||
// }
|
||||
} else {
|
||||
drawBg();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user