Reduced CPU usage by roughly 30%
This commit is contained in:
@@ -183,6 +183,8 @@ namespace ErgometerApplication
|
|||||||
NetCommand command = NetHelper.ReadNetCommand(Doctor);
|
NetCommand command = NetHelper.ReadNetCommand(Doctor);
|
||||||
ParseCommand(command);
|
ParseCommand(command);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Thread.Sleep(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Doctor != null)
|
if(Doctor != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user