This commit is contained in:
Guillem George 2026-05-16 17:37:42 +02:00
parent c6f5ab3438
commit 3d1a427dcf
2 changed files with 41 additions and 5 deletions

View file

@ -88,7 +88,7 @@ socket.on("pixel-update", async (msg) => {
// Buttons
//
async function placePixelButton() {
const { posX, posY, color } = getPlacementData();
const { color, posX, posY } = getPlacementData();
await placePixel(room, posX, posY, color);
}