quick patch of random proxy chooser
This commit is contained in:
parent
5bb2bb7d8a
commit
08d67a5267
37034
javascript/classes.js
37034
javascript/classes.js
File diff suppressed because it is too large
Load Diff
|
@ -10,7 +10,7 @@ public class GameSettings {
|
|||
public static String proxy = "";
|
||||
public static String getNewProxy(){
|
||||
String res=proxy;
|
||||
while(res.equals(proxy)) res = ConfigConstants.proxies[(int) Math.floor(Math.random() * 2)];
|
||||
while(res.equals(proxy)) res = ConfigConstants.proxies[(int) Math.floor(Math.random() * ConfigConstants.proxies.length)];
|
||||
return res;
|
||||
}
|
||||
static {
|
||||
|
|
Loading…
Reference in New Issue
Block a user