This commit is contained in:
shoopea 2020-06-15 15:05:12 +02:00
parent de751ce5b2
commit f21b52aa01

View File

@ -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",
} }