mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-02 15:48:08 +00:00
use tiles to improve perf
This commit is contained in:
@@ -56,12 +56,12 @@ class Client {
|
||||
this.lobbiesContainer.appendChild(button);
|
||||
});
|
||||
|
||||
// Join first lobby
|
||||
if (!this.hasJoined && lobbies.length > 0) {
|
||||
this.hasJoined = true
|
||||
console.log(`joining lobby ${lobbies[0].id}`)
|
||||
this.joinLobby(lobbies[0].id)
|
||||
}
|
||||
// // Join first lobby
|
||||
// if (!this.hasJoined && lobbies.length > 0) {
|
||||
// this.hasJoined = true
|
||||
// console.log(`joining lobby ${lobbies[0].id}`)
|
||||
// this.joinLobby(lobbies[0].id)
|
||||
// }
|
||||
}
|
||||
|
||||
async fetchLobbies() {
|
||||
|
||||
Reference in New Issue
Block a user