We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 728b03e commit c8b08baCopy full SHA for c8b08ba
controllers/Packet/Index.php
@@ -41,7 +41,12 @@ public function run(Router &$router) {
41
if ($a1 == $b1) {
42
$a2 = $a->getPacketId();
43
$b2 = $b->getPacketId();
44
- if ($a2 == $b2) return 0;
+ if ($a2 == $b2) {
45
+ $a3 = $a->getPacketDirectionId();
46
+ $b3 = $b->getPacketDirectionId();
47
+ if ($a3 == $b3) return 0;
48
+ return ($a3 < $a3 ? -1 : 1);
49
+ }
50
return ($a2 < $b2 ? -1 : 1);
51
}
52
return ($a1 < $b1 ? -1 : 1);
0 commit comments