attempt to fix NOP timer bug

This commit is contained in:
Elijah R 2024-01-03 19:58:09 -05:00
parent 91d058d3f4
commit d428667d6a

View file

@ -97,6 +97,7 @@ public class User
}
this.timeOut = false;
this.timeoutTimer.Stop();
this.timeoutTimer.Interval = 3000;
this.timeoutTimer.Start();
switch (msgArr[0])
{
@ -489,6 +490,8 @@ public class User
{
await SendAsync("3.nop;");
timeOut = true;
timeoutTimer.Stop();
timeoutTimer.Interval = 3000;
timeoutTimer.Start();
}
else