mediate discord handling

This commit is contained in:
wish
2022-07-22 13:00:06 +10:00
parent 80ac6dafaa
commit 1213257fd3

View File

@@ -206,7 +206,7 @@ func questlist(s *Server) string {
} }
hasDeparted := "" hasDeparted := ""
if stage.hasDeparted { if len(stage.clients) > 0 {
hasDeparted = " - departed" hasDeparted = " - departed"
} }
list += fmt.Sprintf(" '-> StageId: %s (%d/%d) %s - %s\n", stage.id, len(stage.reservedClientSlots), stage.maxPlayers, hasDeparted, stage.createdAt) list += fmt.Sprintf(" '-> StageId: %s (%d/%d) %s - %s\n", stage.id, len(stage.reservedClientSlots), stage.maxPlayers, hasDeparted, stage.createdAt)