Removed map from mapEffects type
This commit is contained in:
parent
f14d9baaa1
commit
14474f7665
@ -79,7 +79,6 @@ export type Map = {
|
|||||||
|
|
||||||
export type MapEffect = {
|
export type MapEffect = {
|
||||||
id: string
|
id: string
|
||||||
map: Map
|
|
||||||
effect: string
|
effect: string
|
||||||
strength: number
|
strength: number
|
||||||
}
|
}
|
||||||
|
@ -84,8 +84,7 @@ watch(
|
|||||||
|
|
||||||
const addEffect = () => {
|
const addEffect = () => {
|
||||||
mapEffects.value.push({
|
mapEffects.value.push({
|
||||||
id: uuidv4() as UUID, // Simple unique id generation
|
id: uuidv4(),
|
||||||
map: mapEditor.currentMap.value!,
|
|
||||||
effect: '',
|
effect: '',
|
||||||
strength: 1
|
strength: 1
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user