mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
stall bug
This commit is contained in:
parent
ebd3f03e13
commit
4cf4748813
1 changed files with 6 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue