File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ TextureWorker worker = new TextureWorker();
1717ThreadLocal < DecompileContext > DECOMPILE_CONTEXT = new ThreadLocal < DecompileContext > ( ( ) => new DecompileContext ( Data , false ) ) ;
1818string gmxDeclaration = "This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!" ;
1919
20- // if (Directory.Exists(projFolder))
21- // {
22- // ScriptError("A project export already exists. Please remove it.", "Error");
23- // return;
24- // }
20+ if ( Directory . Exists ( projFolder ) )
21+ {
22+ ScriptError ( "A project export already exists. Please remove it." , "Error" ) ;
23+ return ;
24+ }
2525
2626Directory . CreateDirectory ( projFolder ) ;
2727
@@ -37,14 +37,14 @@ var resourceNum = Data.Sprites.Count +
3737 Data . Paths . Count +
3838 Data . Timelines . Count ;
3939
40- // // Export sprites
41- // await ExportSprites();
40+ // Export sprites
41+ await ExportSprites ( ) ;
4242
43- // // Export backgrounds
44- // await ExportBackground();
43+ // Export backgrounds
44+ await ExportBackground ( ) ;
4545
46- // // Export objects
47- // await ExportGameObjects();
46+ // Export objects
47+ await ExportGameObjects ( ) ;
4848
4949// Export rooms
5050await ExportRooms ( ) ;
You can’t perform that action at this time.
0 commit comments