moar client-server tick speed separation

This commit is contained in:
gnembon committed 2023-05-16 10:35:40 +02:00
1 parent e0a3060339
commit df786605c2
23 files changed
+166 -148

No files matched your search

@@ -126,7 +126,7 @@ public class HUDController
}
double MSPT = Arrays.stream(server.tickTimes).average().getAsDouble() * 1.0E-6D;
double TPS = 1000.0D / Math.max((trm.time_warp_start_time != 0)?0.0:trm.mspt, MSPT);
if (TickSpeed.isPaused()) {
if (trm.isPaused()) {
TPS = 0;
}
String color = Messenger.heatmap_color(MSPT,trm.mspt);