mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-14 00:48:53 +01:00
gateway bug fix
This commit is contained in:
parent
3574a3c570
commit
57540caab6
@ -278,7 +278,9 @@ func (self *GateWayPage) ApplyGateWay( gateway string ) bool {
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
if tmp == 0 {
|
if tmp == 0 {
|
||||||
tmp = tmp + 1
|
tmp = tmp + 1
|
||||||
}else if tmp > 0 {
|
}else if tmp == 1 {
|
||||||
|
tmp = tmp + 1
|
||||||
|
}else if tmp > 1 {
|
||||||
tmp = tmp -1
|
tmp = tmp -1
|
||||||
}
|
}
|
||||||
parts[3] = strconv.Itoa(tmp)
|
parts[3] = strconv.Itoa(tmp)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user