test
This commit is contained in:
parent
de751ce5b2
commit
f21b52aa01
4
main.go
4
main.go
@ -164,7 +164,7 @@ func main() {
|
|||||||
|
|
||||||
if paused && clients > 0 {
|
if paused && clients > 0 {
|
||||||
paused = false
|
paused = false
|
||||||
px = PacketAdminRCon{
|
px := PacketAdminRCon{
|
||||||
Packet: Packet{PType: AdminPacketAdminRCon},
|
Packet: Packet{PType: AdminPacketAdminRCon},
|
||||||
Command: "unpause",
|
Command: "unpause",
|
||||||
}
|
}
|
||||||
@ -172,7 +172,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
if !paused && clients == 0 {
|
if !paused && clients == 0 {
|
||||||
paused = true
|
paused = true
|
||||||
px = PacketAdminRCon{
|
px := PacketAdminRCon{
|
||||||
Packet: Packet{PType: AdminPacketAdminRCon},
|
Packet: Packet{PType: AdminPacketAdminRCon},
|
||||||
Command: "pause",
|
Command: "pause",
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user