Skip to content

Commit

Permalink
don't remove if it's EXTERNAL
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 authored Dec 15, 2024
1 parent b42f4f3 commit f46b3c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/funkin/options/categories/MobileOptions.hx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ class MobileOptions extends OptionsScreen {

try
{
Sys.command('rm', ['-rf', lastStoragePath]);
if (Options.storageType != "EXTERNAL")
Sys.command('rm', ['-rf', lastStoragePath]);
}
catch (e:haxe.Exception)
trace('Failed to remove last directory. (${e.message})');
Expand Down

0 comments on commit f46b3c6

Please sign in to comment.