Input fixes

This commit is contained in:
Anuken
2019-10-12 12:52:50 -04:00
parent bd3463c824
commit d7ca2a33c8
9 changed files with 54 additions and 26 deletions

View File

@@ -83,6 +83,14 @@ public class DesktopLauncher extends ClientLauncher{
}
if(useSteam){
//delete leftover dlls
FileHandle file = new FileHandle(".");
for(FileHandle other : file.parent().list()){
if(other.name().contains("steam") && (other.extension().equals("dll") || other.extension().equals("so") || other.extension().equals("dylib"))){
other.delete();
}
}
if(showConsole){
StringBuilder base = new StringBuilder();
Log.setLogger(new LogHandler(){