test
This commit is contained in:
parent
dbbe37a6a0
commit
98ce6a06e4
2
main.go
2
main.go
@ -199,9 +199,11 @@ func main() {
|
||||
if sp.Message == "!unpause" {
|
||||
logInfoDebug("AdminPacketServerChat : Unpausing")
|
||||
forcePaused = false
|
||||
sendChat(-436055948, fmt.Sprintf("Game unpaused by %s", clients[sp.ClientID].Name))
|
||||
} else if sp.Message == "!pause" {
|
||||
logInfoDebug("AdminPacketServerChat : Pausing")
|
||||
forcePaused = true
|
||||
sendChat(-436055948, fmt.Sprintf("Game paused by %s", clients[sp.ClientID].Name))
|
||||
} else {
|
||||
logInfoDebug("AdminPacketServerChat :\n- ActionID: %d\n- DestinationID: %d\n- ClientID: %d\n- Message: %s\n- Amount: %d", sp.ActionID, sp.DestinationID, sp.ClientID, sp.Message, sp.Amount)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user