Fixed #10329 by timing out when UDP snapshots are not received

This commit is contained in:
Anuken
2025-01-14 10:56:49 -05:00
parent 4b923645cb
commit 3acac7da98
6 changed files with 33 additions and 6 deletions

View File

@@ -28,8 +28,12 @@ public class AIController implements UnitController{
protected Teamc target;
{
timer.reset(0, Mathf.random(40f));
timer.reset(1, Mathf.random(60f));
resetTimers();
}
protected void resetTimers(){
timer.reset(timerTarget, Mathf.random(40f));
timer.reset(timerTarget2, Mathf.random(60f));
}
@Override