mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
final
This commit is contained in:
parent
d275730b3e
commit
77108d12af
1 changed files with 5 additions and 3 deletions
|
|
@ -1984,17 +1984,19 @@ class MarbleWorld extends Scheduler {
|
||||||
// pktClone.sort((a, b) -> {
|
// pktClone.sort((a, b) -> {
|
||||||
// return (a.c == client.id) ? 1 : (b.c == client.id) ? -1 : 0;
|
// return (a.c == client.id) ? 1 : (b.c == client.id) ? -1 : 0;
|
||||||
// });
|
// });
|
||||||
|
marble.clearNetFlags();
|
||||||
|
|
||||||
if (client.state != GAME) {
|
if (client.state != GAME) {
|
||||||
allRecv = false;
|
allRecv = false;
|
||||||
continue; // Only send if in game
|
continue; // Only send if in game
|
||||||
}
|
}
|
||||||
marble.clearNetFlags();
|
|
||||||
for (packet in packets) {
|
for (packet in packets) {
|
||||||
client.sendBytes(packet);
|
client.sendBytes(packet);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (allRecv)
|
// if (allRecv)
|
||||||
this.marble.clearNetFlags();
|
this.marble.clearNetFlags();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (pi in this.pathedInteriors) {
|
for (pi in this.pathedInteriors) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue