This commit is contained in:
shoopea 2020-06-21 21:18:36 +02:00
parent 8c00e4cb04
commit 4d72bee53e

View File

@ -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.")
}
}