Fixed a bug in TickrateEnforcer that would forget to update the last tick time, effectively always throttling server.

This commit is contained in:
Alexandru Macocian
2019-10-23 12:59:15 +02:00
parent c2fbaac300
commit 3f6992919f
3 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ namespace MTSC_TestServer
{
static void Main(string[] args)
{
X509Certificate2 certificate = new X509Certificate2("localhost.pfx", "psdsd");
Server server = new Server(80);
//X509Certificate2 certificate = new X509Certificate2("localhost.pfx", "psdsd");
Server server = new Server(500);
RSACryptoServiceProvider rsa = new RSACryptoServiceProvider(1024);
EncryptionHandler encryptionHandler = new EncryptionHandler(rsa);
server