File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1212 " README.md" ,
1313 " *.sql" ,
1414 " .git/*" ,
15- " .git"
15+ " .git*" ,
16+ " .vscode*"
1617 ]
1718}
Original file line number Diff line number Diff line change @@ -153,14 +153,14 @@ function MSync.mysql.saveServer()
153153 ]] )
154154
155155 local hostname = GetHostName ()
156- local ip , port = string .Split (game .GetIPAddress (), " :" )
156+ local gameAddress = string .Split (game .GetIPAddress (), " :" )
157157
158158 if string.len (hostname ) > 75 then
159159 hostname = string.sub ( hostname , 1 , 75 )
160160 end
161161 addServer :setString (1 , hostname )
162- addServer :setString (2 , ip )
163- addServer :setString (3 , port )
162+ addServer :setString (2 , gameAddress [ 1 ] )
163+ addServer :setString (3 , gameAddress [ 2 ] )
164164 addServer :setString (4 , MSync .settings .data .serverGroup )
165165
166166 function addServer .onSuccess ()
You can’t perform that action at this time.
0 commit comments