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 (
1616var  address  =  flag .String ("address" , "localhost:8081" , "The address on which the UI and API is served" )
1717var  autorefAddress  =  flag .String ("autorefAddress" , "" , "The address on which the Autoref -> GC connection is served" )
1818var  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" )
1920var  ciAddress  =  flag .String ("ciAddress" , "" , "The address on which the CI connection is served" )
2021var  visionAddress  =  flag .String ("visionAddress" , "" , "The address (ip+port) from which vision packages are received" )
2122var  trackerAddress  =  flag .String ("trackerAddress" , "" , "The address (ip+port) from which tracker packages are received" )
@@ -76,6 +77,9 @@ func setupGameController() {
7677	if  teamAddress  !=  nil  &&  * teamAddress  !=  ""  {
7778		cfg .Server .Team .Address  =  * teamAddress 
7879	}
80+ 	if  remoteControlAddress  !=  nil  &&  * remoteControlAddress  !=  ""  {
81+ 		cfg .Server .RemoteControl .Address  =  * remoteControlAddress 
82+ 	}
7983
8084	gameController  :=  gc .NewGameController (cfg )
8185	gameController .SetVerbose (* verbose )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments