diff --git a/public_html/js/class.js b/public_html/js/class.js index 0502fcd..90837f3 100644 --- a/public_html/js/class.js +++ b/public_html/js/class.js @@ -41,6 +41,12 @@ class Player this.death++; this.health=defaulthealth; + players.forEach((p) => { + if(p.id==killerId) { + p.kill++; + } + }); + net.died(this.id,killerId); } }