Skip to content

Commit ddfec79

Browse files
authored
Merge pull request #41 from cat24max/master
Fixing -1ms ping players not getting detected Better late than never right? 😄
2 parents 3540b21 + 36f7e07 commit ddfec79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ public function getPlayersArray()
512512
$playersRaw = $this->getPlayers();
513513

514514
$players = $this->cleanList($playersRaw);
515-
preg_match_all("#(\d+)\s+(\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d+\b)\s+(\d+)\s+([0-9a-fA-F]+)\(\w+\)\s([\S ]+)$#im", $players, $str);
515+
preg_match_all("#(\d+)\s+(\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d+\b)\s+\-*(\d+)\s+([0-9a-fA-F]+)\(\w+\)\s([\S ]+)$#im", $players, $str);
516516

517517
return $this->formatList($str);
518518
}

0 commit comments

Comments
 (0)