Platform cleanup

This commit is contained in:
Anuken
2019-08-30 17:35:26 -04:00
22 changed files with 98 additions and 116 deletions

View File

@@ -12,7 +12,6 @@ public class DesktopLauncher{
public static void main(String[] arg){
try{
Platform.instance = new DesktopPlatform(arg);
if(SteamAPI.isSteamRunning()){
SteamCoreNetImpl net = DesktopPlatform.steamCore = new SteamCoreNetImpl();
@@ -23,7 +22,7 @@ public class DesktopLauncher{
Net.setServerProvider(new ArcNetServer());
}
new SdlApplication(new ClientLauncher(), new SdlConfig(){{
new SdlApplication(new DesktopPlatform(arg), new SdlConfig(){{
title = "Mindustry";
maximized = true;
depth = 0;