server anti-cheat
This commit is contained in:
parent
a9a1a965f4
commit
14f0226a2f
1 changed files with 3 additions and 2 deletions
|
@ -22,8 +22,9 @@ const wss = new WebSocket.Server({
|
|||
|
||||
const spawnPoints = [{"x":218,"y":193},{"x":601,"y":715},{"x":1264,"y":57},{"x":274,"y":506},{"x":921,"y":854},{"x":1041,"y":442},{"x":638,"y":124},{"x":483,"y":436}]
|
||||
const connections = new Set();
|
||||
var playerCount = 0;
|
||||
var players = []
|
||||
let playerCount = 0;
|
||||
let players = []
|
||||
const MAX_HEALTH = 10;
|
||||
|
||||
const NAME_MAXLEN = 25;
|
||||
|
||||
|
|
Loading…
Reference in a new issue