Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -41,6 +41,7 @@ public enum LogicOp{
|
|||||||
log10("log10", Math::log10),
|
log10("log10", Math::log10),
|
||||||
floor("floor", Math::floor),
|
floor("floor", Math::floor),
|
||||||
ceil("ceil", Math::ceil),
|
ceil("ceil", Math::ceil),
|
||||||
|
round("round", Math::round),
|
||||||
sqrt("sqrt", Math::sqrt),
|
sqrt("sqrt", Math::sqrt),
|
||||||
rand("rand", d -> GlobalVars.rand.nextDouble() * d),
|
rand("rand", d -> GlobalVars.rand.nextDouble() * d),
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ import static mindustry.Vars.*;
|
|||||||
|
|
||||||
public class DesktopLauncher extends ClientLauncher{
|
public class DesktopLauncher extends ClientLauncher{
|
||||||
public final static long discordID = 610508934456934412L;
|
public final static long discordID = 610508934456934412L;
|
||||||
|
public final String[] args;
|
||||||
|
|
||||||
boolean useDiscord = !OS.hasProp("nodiscord"), loadError = false;
|
boolean useDiscord = !OS.hasProp("nodiscord"), loadError = false;
|
||||||
Throwable steamError;
|
Throwable steamError;
|
||||||
|
|
||||||
@@ -72,6 +74,8 @@ public class DesktopLauncher extends ClientLauncher{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public DesktopLauncher(String[] args){
|
public DesktopLauncher(String[] args){
|
||||||
|
this.args = args;
|
||||||
|
|
||||||
Version.init();
|
Version.init();
|
||||||
boolean useSteam = Version.modifier.contains("steam");
|
boolean useSteam = Version.modifier.contains("steam");
|
||||||
testMobile = Seq.with(args).contains("-testMobile");
|
testMobile = Seq.with(args).contains("-testMobile");
|
||||||
|
|||||||
Reference in New Issue
Block a user