From 4d72bee53e084cbddc0c723c9138729dda0371b8 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 21 Jun 2020 21:18:36 +0200 Subject: [PATCH] test --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 1000705..0878bd4 100644 --- a/main.go +++ b/main.go @@ -300,6 +300,8 @@ func main() { if pausedBy != "" { sendChat(-436055948, fmt.Sprintf("Game unpaused by %s", pausedBy)) pausedBy = "" + } else { + sendChat(-436055948, "Game unpaused") } } if !paused && len(clients) == 1 { // server is client #1 @@ -310,7 +312,6 @@ func main() { } _, err = conn.Write(px.Bytes()) logInfoDebug("Pausing") - sendChat(-436055948, "No players. Game paused.") } }