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,10 +2129,12 @@ class Marble extends GameObject {
|
||||||
// Pad null move on client
|
// Pad null move on client
|
||||||
this.connection.moveManager.duplicateLastMove();
|
this.connection.moveManager.duplicateLastMove();
|
||||||
}
|
}
|
||||||
if (ProfilerUI.instance.fps < 30) {
|
if (this.connection != null) {
|
||||||
this.connection.moveManager.stall = true; // Our fps fucked, stall pls
|
if (ProfilerUI.instance.fps < 30) {
|
||||||
} else {
|
this.connection.moveManager.stall = true; // Our fps fucked, stall pls
|
||||||
this.connection.moveManager.stall = false;
|
} else {
|
||||||
|
this.connection.moveManager.stall = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (p.netFlags & MarbleNetFlags.UpdateTrapdoor > 0) {
|
if (p.netFlags & MarbleNetFlags.UpdateTrapdoor > 0) {
|
||||||
for (tId => tTime in p.trapdoorUpdates) {
|
for (tId => tTime in p.trapdoorUpdates) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue