forked from noxious/client
Add ID instead of object when adding map object
This commit is contained in:
parent
c56c2796c4
commit
5ef11f3157
@ -39,7 +39,7 @@ function pencil(pointer: Phaser.Input.Pointer, map: MapT) {
|
||||
|
||||
const newPlacedMapObject: PlacedMapObjectT = {
|
||||
id: uuidv4(),
|
||||
mapObject: mapEditor.selectedMapObject.value,
|
||||
mapObject: mapEditor.selectedMapObject.value.id,
|
||||
isRotated: false,
|
||||
positionX: tile.x,
|
||||
positionY: tile.y
|
||||
|
Loading…
x
Reference in New Issue
Block a user