Fix replay crashes

This commit is contained in:
Erika
2021-03-31 09:59:26 -06:00
parent ad7cbda055
commit f444c8d3d1
3 changed files with 5 additions and 5 deletions

View File

@ -52,8 +52,8 @@ class TitleState extends MusicBeatState
#end
#if sys
if (!sys.FileSystem.exists(Sys.getCwd() + "\\assets\\replays"))
sys.FileSystem.createDirectory(Sys.getCwd() + "\\assets\\replays");
if (!sys.FileSystem.exists(Sys.getCwd() + "/assets/replays"))
sys.FileSystem.createDirectory(Sys.getCwd() + "/assets/replays");
#end