diff --git a/src/network/clientopcodes.h b/src/network/clientopcodes.h index 9143865b8..43a93bb4f 100644 --- a/src/network/clientopcodes.h +++ b/src/network/clientopcodes.h @@ -41,7 +41,7 @@ struct ToClientCommandHandler struct ServerCommandFactory { const char* name; - u16 channel; + u8 channel; bool reliable; }; diff --git a/src/network/serveropcodes.h b/src/network/serveropcodes.h index aa3301069..72323ae24 100644 --- a/src/network/serveropcodes.h +++ b/src/network/serveropcodes.h @@ -41,7 +41,7 @@ struct ToServerCommandHandler struct ClientCommandFactory { const char* name; - u16 channel; + u8 channel; bool reliable; };