IO of LeaderBoard
This commit is contained in:
parent
01213ac742
commit
f9ae4f9a42
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ class Network{
|
|||
}
|
||||
|
||||
died(id, killerId){
|
||||
this.deathToAdd.push({id:id,killerId:killerId});
|
||||
this.socket.send(JSON.stringify({type:"died",data:{id: id, killerId: killerId}}));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue