IT WORKS. that was actually pretty easy. Now to fix all the :any types.

This commit is contained in:
Alexander Bass 2022-06-24 11:24:22 -04:00
parent 46d99053b3
commit ac0f31cc07
3 changed files with 2 additions and 3 deletions

View file

@ -1,3 +0,0 @@
import * as util from "./scripts/util.mjs"
console.log(util.createCode())

View file

@ -17,6 +17,7 @@ export function init(){
ID("createRoomButton").addEventListener("click", e => { ID("createRoomButton").addEventListener("click", e => {
create(e) create(e)
// picker.destroy("createGameSelectColorBar") // picker.destroy("createGameSelectColorBar")
}); });
const mineSlider = ID("createGameOptionsMinePercent") const mineSlider = ID("createGameOptionsMinePercent")

View file

@ -26,6 +26,7 @@ function leaveGame(socket){
socket.on('connect', function(data){ socket.on('connect', function(data){
status.connected() status.connected()
}) })
socket.on('disconnect', function(data){ socket.on('disconnect', function(data){
status.disconnected() status.disconnected()
}) })