smol changes
This commit is contained in:
parent
c58f00930a
commit
beef2d1519
2 changed files with 1 additions and 2 deletions
|
@ -36,7 +36,6 @@ class Player
|
||||||
this.health-=amount;
|
this.health-=amount;
|
||||||
if(this.health<=0)
|
if(this.health<=0)
|
||||||
{
|
{
|
||||||
console.log(network);
|
|
||||||
network.died(this.id,killerId);
|
network.died(this.id,killerId);
|
||||||
this.health=10;
|
this.health=10;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue