This commit is contained in:
2015-10-09 20:49:33 +02:00
parent 2f5b35bcaa
commit 23eda18369
3 changed files with 1 additions and 1 deletions
@@ -135,7 +135,7 @@ namespace ErgometerApplication
{ {
while(running) while(running)
{ {
if(Doctor.Available > 0) if(Doctor.Connected && Doctor.Available > 0)
{ {
NetCommand command = NetHelper.ReadNetCommand(Doctor); NetCommand command = NetHelper.ReadNetCommand(Doctor);
ParseCommand(command); ParseCommand(command);