SteamWar/BauSystem2.0
Archiviert
12
0

Add Last Wait in Loader to be 120 ticks
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2023-09-18 16:26:05 +02:00
Ursprung f7cfe5d2bd
Commit c20eb8c331

Datei anzeigen

@ -72,7 +72,7 @@ public class LoaderRecorder implements Listener {
return; return;
} }
long diff = TPSUtils.currentRealTick.get() - lastInteraction; long diff = TPSUtils.currentRealTick.get() - lastInteraction;
if (last && diff > 160) diff = 160; if (last) diff = 120;
lastInteraction = TPSUtils.currentRealTick.get(); lastInteraction = TPSUtils.currentRealTick.get();
loaderElementList.add(new LoaderWait(diff)); loaderElementList.add(new LoaderWait(diff));
} }