forked from noxious/client
Removed map from mapEffects type
This commit is contained in:
parent
f14d9baaa1
commit
14474f7665
@ -79,7 +79,6 @@ export type Map = {
|
||||
|
||||
export type MapEffect = {
|
||||
id: string
|
||||
map: Map
|
||||
effect: string
|
||||
strength: number
|
||||
}
|
||||
|
@ -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
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user