fix:correction kill

这个提交包含在:
Baptiste 2023-12-28 11:45:53 +01:00
父节点 3c47694f3d
当前提交 d075d532d7

查看文件

@ -41,6 +41,12 @@ class Player
this.death++; this.death++;
this.health=defaulthealth; this.health=defaulthealth;
players.forEach((p) => {
if(p.id==killerId) {
p.kill++;
}
});
net.died(this.id,killerId); net.died(this.id,killerId);
} }
} }