Web compilation fix, new logging, cleanup
This commit is contained in:
@@ -41,6 +41,7 @@ public class Mindustry extends ModuleCore {
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
GameState.set(State.menu);
|
||||
platforms.onGameExit();
|
||||
Net.dispose();
|
||||
super.dispose();
|
||||
@@ -73,7 +74,7 @@ public class Mindustry extends ModuleCore {
|
||||
Locale locale = Locale.ENGLISH;
|
||||
Core.bundle = I18NBundle.createBundle(handle, locale);
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
UCore.error(e);
|
||||
platforms.showError("Failed to find bundle!\nMake sure you have bundle.properties in the same directory\nas the jar file.\n\nIf the problem persists, try running it through the command prompt:\n" +
|
||||
"Hold left-shift, then right click and select 'open command prompt here'.\nThen, type in 'java -jar mindustry.jar' without quotes.");
|
||||
Gdx.app.exit();
|
||||
|
||||
Reference in New Issue
Block a user