Skip to content

Commit

Permalink
fix: removed control setting message
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed Dec 31, 2017
1 parent 0244a1a commit 43b01b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion include/librg.h
Original file line number Diff line number Diff line change
Expand Up @@ -2198,7 +2198,6 @@ extern "C" {
librg_inline void librg__execture_server_entity_control(librg_ctx_t *ctx) {
for (isize i = 0; i < zpl_array_count(ctx->entity.add_control_queue); i++) {
librg_message_t *msg = ctx->entity.add_control_queue[i];
librg_log("sedning control queue to someone\n");
enet_peer_send(msg->peer, librg_option_get(LIBRG_NETWORK_MESSAGE_CHANNEL), msg->packet);
zpl_free(ctx->allocator, msg);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "librg.c",
"version": "3.1.0",
"version": "3.1.1",
"description": "Pure C library for building simple and elegant cross-platform mmo client-server solutions.",
"main": "include/librg.h",
"directories": {
Expand Down

0 comments on commit 43b01b9

Please sign in to comment.