Skip to content

Commit

Permalink
Fixed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tltneon committed Feb 28, 2025
1 parent 101fd3f commit 22d3b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lgsl_protocol.php
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ public function process() {
}
if ((substr(rtrim($this->_data['s']['game']), -2) === 'c=')) { // EURO TRUCK SIMULATOR 2 & American Truck Simulator
$this->_data['s']['game'] = 'ets2';
$this->_data['s']['map'] = substr($server['s']['map'], 0, -4);
$this->_data['s']['map'] = substr($this->_data['s']['map'], 0, -4);
if ($this->_data['s']['map'] == '/map/usa') {
$this->_data['s']['game'] = 'ats';
}
Expand Down

0 comments on commit 22d3b43

Please sign in to comment.