stall bug

This commit is contained in:
RandomityGuy 2024-07-17 13:03:22 +05:30
parent ebd3f03e13
commit 4cf4748813

View file

@ -2129,11 +2129,13 @@ class Marble extends GameObject {
// Pad null move on client
this.connection.moveManager.duplicateLastMove();
}
if (this.connection != null) {
if (ProfilerUI.instance.fps < 30) {
this.connection.moveManager.stall = true; // Our fps fucked, stall pls
} else {
this.connection.moveManager.stall = false;
}
}
if (p.netFlags & MarbleNetFlags.UpdateTrapdoor > 0) {
for (tId => tTime in p.trapdoorUpdates) {
@:privateAccess level.trapdoorPredictions.acknowledgeTrapdoorUpdate(tId, tTime);