diff --git a/game/server b/game/server index 3943299..4663f83 100755 Binary files a/game/server and b/game/server differ diff --git a/game/server.c b/game/server.c index 2e5c2b1..89da3d2 100644 --- a/game/server.c +++ b/game/server.c @@ -28,7 +28,7 @@ typedef int socklen_t; #define MAX_PLAYERS 16 #define USERNAME_MAX 16 -#define TICK_HZ 20 +#define TICK_HZ 30 #define DT (1.0f / (float)TICK_HZ) #define WEAPON_PISTOL 0 @@ -1112,7 +1112,7 @@ int main(void) { // Send room state every few ticks static uint32_t roomStateTickDiv = 0; roomStateTickDiv++; - if (roomStateTickDiv >= 30) { // Every 30 ticks, about 0.5s + if (roomStateTickDiv >= 1) { // Every tick, about 0.05s roomStateTickDiv = 0; MsgRoomState rs = {0}; rs.type = MSG_ROOM_STATE;