fix death
This commit is contained in:
parent
7e6fcf8ce3
commit
5452cc79db
|
@ -185,6 +185,7 @@ function awaitMessages(channel, callback) {
|
||||||
return () => {
|
return () => {
|
||||||
// somehow remove the listener idk how
|
// somehow remove the listener idk how
|
||||||
gameEndEmitter.emit(channel);
|
gameEndEmitter.emit(channel);
|
||||||
|
sessions.delete(channel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue