diff --git a/src/application/types.ts b/src/application/types.ts index 130296b..61e3b3d 100644 --- a/src/application/types.ts +++ b/src/application/types.ts @@ -79,7 +79,6 @@ export type Map = { export type MapEffect = { id: string - map: Map effect: string strength: number } diff --git a/src/components/gameMaster/mapEditor/partials/MapSettings.vue b/src/components/gameMaster/mapEditor/partials/MapSettings.vue index 2707d2f..bbc4b47 100644 --- a/src/components/gameMaster/mapEditor/partials/MapSettings.vue +++ b/src/components/gameMaster/mapEditor/partials/MapSettings.vue @@ -84,8 +84,7 @@ watch( const addEffect = () => { mapEffects.value.push({ - id: uuidv4() as UUID, // Simple unique id generation - map: mapEditor.currentMap.value!, + id: uuidv4(), effect: '', strength: 1 })