Possible zip crash fix

This commit is contained in:
Anuken
2017-12-20 21:25:30 -05:00
parent 9f8eff27e1
commit ddb7c32491
4 changed files with 22 additions and 22 deletions

View File

@@ -42,10 +42,6 @@ public class SaveDialog extends LoadDialog{
Timers.runTask(5f, () -> {
hide();
Vars.ui.hideLoading();
if(Gdx.files.getLocalStoragePath().equals("C:\\Windows\\System32")){
Vars.ui.showError("[orange]Invalid local storage directory![]\nAre you running the game from inside a zip file?");
return;
}
try{
SaveIO.saveToSlot(slot);
}catch(Throwable e){