mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-08 04:30:47 +00:00
fix respawning : fix #91
This commit is contained in:
parent
010cda5c6e
commit
a647e34078
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ function inject(serv, player)
|
||||||
});
|
});
|
||||||
player.sendPosition();
|
player.sendPosition();
|
||||||
player.updateHealth(20);
|
player.updateHealth(20);
|
||||||
|
player.nearbyPlayers=[];
|
||||||
player.updateAndSpawnNearbyPlayers();
|
player.updateAndSpawnNearbyPlayers();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue