forked from noxious/client
Removed console.log(), fixed small bug
This commit is contained in:
@ -31,7 +31,6 @@ import ZoneEventTiles from '@/components/gameMaster/zoneEditor/zonePartials/Zone
|
||||
|
||||
const gameStore = useGameStore()
|
||||
const zoneEditorStore = useZoneEditorStore()
|
||||
console.log(zoneEditorStore.zone)
|
||||
|
||||
const tileMap = ref(null as Phaser.Tilemaps.Tilemap | null)
|
||||
|
||||
|
@ -43,7 +43,7 @@ gameStore.connection!.on('zone:character:teleport', async (data: zoneLoadData) =
|
||||
|
||||
gameStore.connection!.on('zone:character:join', async (data: ZoneCharacter) => {
|
||||
// If data is from the current user, don't add it to the store
|
||||
if (data.id === gameStore.character?.id) return
|
||||
if (data.character.id === gameStore.character?.id) return
|
||||
zoneStore.addCharacter(data)
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user