Skip to content

Commit

Permalink
Fixed #216
Browse files Browse the repository at this point in the history
  • Loading branch information
tltneon committed Aug 20, 2024
1 parent 199ddac commit 1905a50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lgsl_protocol.php
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ public function process() {
$this->_data['s']['game'] = $games[$this->_data['e']['protocol']] ?? "Unknown {$this->_data['e']['protocol']}";
}
if (isset($this->_data['e']['gamename'])) { $this->_data['s']['game'] = $this->_data['e']['gamename']; }
if (isset($this->_data['e']['gm'])) { $this->_data['s']['mode'] = $this->_data['e']['gm']; }
if (isset($this->_data['e']['g_gametype'])) {
if ($type === PROTOCOL::URBANTERROR) {
$games = ["0" => "Free for All", "1" => "Last Man Standing", "3" => "Team Deathmatch", "4" => "Team Survivor", "5" => "Follow the Leader",
Expand Down

0 comments on commit 1905a50

Please sign in to comment.