statki/public/assets/js/socket-game.js

6 lines
144 B
JavaScript
Raw Normal View History

const socket = io();
socket.on("players ready", () => {
$(".cover").css({opacity: 0, pointerEvents: "none"});
socket.emit("shoot");
});