This commit is contained in:
shoopea 2020-06-22 11:13:20 +02:00
parent 8b3f670b5a
commit 314570a11e

View File

@ -200,6 +200,8 @@ func main() {
logInfoDebug("AdminPacketServerClientQuit :\n- ClientID: %d", sp.ClientID)
if len(clients) == 2 && !paused {
sendChat(-436055948, fmt.Sprintf("%s leaving. Game paused.", clients[sp.ClientID].Name))
} else {
sendChat(-436055948, fmt.Sprintf("%s leaving.", clients[sp.ClientID].Name))
}
delete(clients, sp.ClientID)
case AdminPacketServerChat: