File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import (
16
16
var address = flag .String ("address" , "localhost:8081" , "The address on which the UI and API is served" )
17
17
var autorefAddress = flag .String ("autorefAddress" , "" , "The address on which the Autoref -> GC connection is served" )
18
18
var teamAddress = flag .String ("teamAddress" , "" , "The address on which the Team -> GC connection is served" )
19
+ var remoteControlAddress = flag .String ("remoteControlAddress" , "" , "The address on which the remote control connection is served" )
19
20
var ciAddress = flag .String ("ciAddress" , "" , "The address on which the CI connection is served" )
20
21
var visionAddress = flag .String ("visionAddress" , "" , "The address (ip+port) from which vision packages are received" )
21
22
var trackerAddress = flag .String ("trackerAddress" , "" , "The address (ip+port) from which tracker packages are received" )
@@ -76,6 +77,9 @@ func setupGameController() {
76
77
if teamAddress != nil && * teamAddress != "" {
77
78
cfg .Server .Team .Address = * teamAddress
78
79
}
80
+ if remoteControlAddress != nil && * remoteControlAddress != "" {
81
+ cfg .Server .RemoteControl .Address = * remoteControlAddress
82
+ }
79
83
80
84
gameController := gc .NewGameController (cfg )
81
85
gameController .SetVerbose (* verbose )
You can’t perform that action at this time.
0 commit comments