Commit 02b59ec4 authored by ceddral's avatar ceddral
Browse files

add disconnect log message

parent bd43aac4
......@@ -123,6 +123,7 @@ func (p *Player) Close() {
close(p.inputEvent)
close(p.windowSizeLoopKill)
delete(gs.players, p.name)
log.Printf("%s disconnected\n", p.name)
}
func StopTimer(t *time.Timer) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment