Skip to content

Commit

Permalink
add version and commit hash to player count in fake websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
Percslol committed Dec 27, 2024
1 parent 7f2dd29 commit 2d3835d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/connection/fakewebsocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ class SettingsWS extends EventTarget {
max: 0,
players: [],
motd: ["Sign in with Microsoft", "Configure Proxy URL"],
//@ts-expect-error these get filled in by rollup
players: [`Version: ${self.VERSION}`, `Build: ${self.COMMITHASH}`],
},
}),
})
Expand Down

0 comments on commit 2d3835d

Please sign in to comment.