Skip to content

Commit 8ceb7a9

Browse files
committed
added sprint 1 maps
1 parent 0620336 commit 8ceb7a9

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

client/src/components/sidebar/map-editor/map-editor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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)

client/src/constants.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)