public void FlushMessages() { if (flushedMessagesLastTick) { flushedMessagesLastTick = false; // return; //only every other frame } NetworkServer.FlushSendQueue(); }