{
     static uint8_t ping_sent = 0;
     time_t now = time(0);
-    if (ping_sent && last_server_answer_time > now - 3)
-    {
-        ping_sent = 0;
+    if (ping_sent && last_server_answer_time > now - 3)  /* Re-set if last    */
+    {                                                    /* ping was answered */
+        ping_sent = 0;                                   /* with server       */
+        return;                                          /* activity.         */
     }
     if (!ping_sent && last_server_answer_time < now - 3)
     {
 
  */
 extern void send(char * msg);
 
-/* Keep checking for user input, a changed worldstate file and the server's
+/* Keep checking for user input, a changed worldstate file, and the server's
  * wakefulness. Update client's world representation on worldstate file changes.
  * Manipulate the client and send commands to server based on the user input as
  * interpreted by the control.h library.