Make method static if possible

Closes #61.
This commit is contained in:
Lonami Exo 2020-08-30 12:00:48 +02:00
parent 2c7125710f
commit 7bc26d9a62

View file

@ -323,7 +323,7 @@ class GameScreen implements Screen, InputProcessor, BinSerializable {
}
}
private void deleteSave() {
private static void deleteSave() {
final FileHandle handle = Gdx.files.local(SAVE_DAT_FILENAME);
if (handle.exists())
handle.delete();