removeParticipant when mapper left was broken
This commit is contained in:
parent
7cd70438bc
commit
39afe4342b
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ export const lostMapper = self => data => {
|
||||||
ChatView.sound.play('leavemap')
|
ChatView.sound.play('leavemap')
|
||||||
// $('#mapper' + data.userid).remove()
|
// $('#mapper' + data.userid).remove()
|
||||||
$('#compass' + data.userid).remove()
|
$('#compass' + data.userid).remove()
|
||||||
ChatView.removeParticipant(data.username)
|
ChatView.removeParticipant(ChatView.participants.findWhere({id: data.userid}))
|
||||||
|
|
||||||
GlobalUI.notifyUser(data.username + ' just left the map')
|
GlobalUI.notifyUser(data.username + ' just left the map')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue