render current player in secondary color
This commit is contained in:
parent
fbaad86555
commit
c4c4eb6358
13 changed files with 255 additions and 72 deletions
|
|
@ -6,7 +6,7 @@ export default function Controls({playerId, logout}: {
|
|||
playerId: string,
|
||||
logout: () => void
|
||||
}) {
|
||||
const url = new URL(import.meta.env.VITE_TANK_CONTROLS_URL);
|
||||
const url = new URL('controls', import.meta.env.VITE_TANK_WS);
|
||||
url.searchParams.set('playerId', playerId);
|
||||
const {
|
||||
sendMessage,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue