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

@@ -10,6 +10,11 @@ import mindustry.gen.*;
public class MissileAI extends AIController{
public @Nullable Unit shooter;
@Override
protected void resetTimers(){
timer.reset(timerTarget, Mathf.random(3f));
}
@Override
public void updateMovement(){
unloadPayloads();