more
This commit is contained in:
parent
b5d2823b09
commit
e379ab2a4c
2
app.c
2
app.c
|
@ -43,7 +43,7 @@ typedef struct Player {
|
|||
int rid, id, x, y, dir;
|
||||
} Player;
|
||||
|
||||
#define MAX_PLAYERS 20
|
||||
#define MAX_PLAYERS 50
|
||||
Player players[MAX_PLAYERS] = {0};
|
||||
int nb_players = 0;
|
||||
|
||||
|
|
2
load.js
2
load.js
|
@ -85,7 +85,7 @@ connection.onclose = (e) => {
|
|||
document.getElementById('players').innerHTML = "Not connected";
|
||||
};
|
||||
|
||||
var update_time_ms = 100;
|
||||
var update_time_ms = 16;
|
||||
function send_pos()
|
||||
{
|
||||
if (is_connected) {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
Loading…
Reference in New Issue