]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.cpp
Fix infinite loop while sending messages repeatedly
[stg.git] / projects / stargazer / user_impl.cpp
index d89bbe47a796bc9180371b840685a2bb82997e4e..7f2d5e0b27fed20327d59b28f513b3c97ce15377 100644 (file)
@@ -1281,6 +1281,10 @@ while (it != messages.end())
             ++it;
             }
         }
+    else
+        {
+        ++it;
+        }
     }
 }
 //-----------------------------------------------------------------------------