removeParticipant when mapper left was broken

This commit is contained in:
Connor Turland 2016-12-21 03:36:30 -05:00
parent 7cd70438bc
commit 39afe4342b

View file

@ -234,7 +234,7 @@ export const lostMapper = self => data => {
ChatView.sound.play('leavemap')
// $('#mapper' + 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')