fix bug that makes GetIP only work once per user

This commit is contained in:
Elijah R 2024-04-02 19:23:32 -04:00
parent 0e6f475f94
commit a619f35842

View file

@ -213,6 +213,7 @@ public class CollabVMClient {
#endif
return;
}
if (msgArr.Length < 1) return;
this.NOPRecieve.Stop();
this.NOPRecieve.Interval = 10000;
@ -435,6 +436,7 @@ public class CollabVMClient {
var tsk = this.GotIPTasks.Find(x => x.username == msgArr[2]);
if (tsk == null) return;
tsk.IPTask.TrySetResult(msgArr[3]);
this.GotIPTasks.Remove(tsk);
break;
}
break;