This commit is contained in:
Anuken
2023-02-01 14:42:50 -05:00
parent 411399e96f
commit c2262cc9cf
6 changed files with 29 additions and 12 deletions

View File

@@ -192,7 +192,8 @@ public class Map implements Comparable<Map>, Publishable{
@Override
public Fi createSteamPreview(String id){
return previewFile();
//I have no idea what the hell I was even thinking with this preview stuff
return Vars.mapPreviewDirectory.child((workshop && file.parent().exists() && file.parent().extEquals(".png") ? file.parent().name() : file.nameWithoutExtension()) + "_v2.png");
}
@Override