File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
blade-engine/src/com/bladecoder/engine Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,8 @@ public void loadAssets() {
304
304
params .fontParameters .magFilter = TextureFilter .Linear ;
305
305
params .fontParameters .minFilter = TextureFilter .Linear ;
306
306
307
- EngineAssetManager .getInstance ().load (fontName + getFontSize () + ".ttf" , BitmapFont .class , params );
307
+ EngineAssetManager .getInstance ().load (fontName + getFontSize () + EngineAssetManager .FONT_EXT , BitmapFont .class ,
308
+ params );
308
309
}
309
310
310
311
@ Override
Original file line number Diff line number Diff line change @@ -151,9 +151,11 @@ public void show() {
151
151
menuButtonTable .addListener (new InputListener () {
152
152
@ Override
153
153
public boolean keyUp (InputEvent event , int keycode ) {
154
- if (keycode == Input .Keys .ESCAPE || keycode == Input . Keys . BACK )
154
+ if (keycode == Input .Keys .ESCAPE )
155
155
if (world .getCurrentScene () != null )
156
156
ui .setCurrentScreen (Screens .SCENE_SCREEN );
157
+ else if (keycode == Input .Keys .BACK )
158
+ Gdx .app .exit ();
157
159
158
160
return true ;
159
161
}
You can’t perform that action at this time.
0 commit comments