File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ export const MapEditorPage: React.FC<Props> = (props) => {
145145
146146 const applyBrush = ( point : { x : number ; y : number } ) => {
147147 if ( ! openBrush ) return
148+ if ( point === null ) return
148149
149150 const undoFunc = openBrush . apply ( point . x , point . y , openBrush . fields , true )
150151 strokeUndoStack . current . push ( undoFunc )
Original file line number Diff line number Diff line change @@ -25,8 +25,24 @@ export const ENGINE_BUILTIN_MAP_NAMES: string[] = [
2525 // Default
2626 'DefaultSmall' ,
2727 'DefaultMedium' ,
28- 'DefaultLarge'
28+ 'DefaultLarge' ,
2929 // Sprint 1
30+ 'sittingducks' ,
31+ 'starvation' ,
32+ 'thunderdome' ,
33+ 'popthecork' ,
34+ 'cheesefarm' ,
35+ 'rift' ,
36+ 'ZeroDay' ,
37+ 'pipes' ,
38+ 'Nofreecheese' ,
39+ 'wallsofparadis' ,
40+ 'dirtpassageway' ,
41+ 'trapped' ,
42+ 'arrows' ,
43+ 'Meow' ,
44+ 'dirtfulcat' ,
45+ 'keepout'
3046 // Sprint 2
3147 // HS
3248 // Quals
You can’t perform that action at this time.
0 commit comments