Skip to content

Commit

Permalink
fix: issue with location data in Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Dec 30, 2024
1 parent d95c453 commit 3d57059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib-gameserver/src/gameservers/rust/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class Rust implements IGameServer {
const lines = rawResponse.rawResult.split('\n');

for (const line of lines) {
const matches = /(\d{17}) \w+\s{4}\(([-\d\.]+), ([-\d\.]+), ([-\d\.]+)\)/.exec(line);
const matches = /(\d{17}) \w+\s\(([-\d\.]+), ([-\d\.]+), ([-\d\.]+)\)/.exec(line);

if (matches) {
const steamId = matches[1];
Expand Down

0 comments on commit 3d57059

Please sign in to comment.