mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
delete cla shit
This commit is contained in:
parent
9d9849d95b
commit
2ac7425895
2 changed files with 0 additions and 7 deletions
File diff suppressed because one or more lines are too long
|
|
@ -67,15 +67,9 @@ class Mission {
|
|||
img.setPixel(0, 0, 0);
|
||||
return Tile.fromBitmap(img);
|
||||
} else {
|
||||
var outputString = Http.requestUrl('https://marbleblast.vani.ga/api/custom/${this.id}.jpg');
|
||||
#if hl
|
||||
sys.FileSystem.createDirectory("data/previewcache");
|
||||
sys.io.File.write('data/previewcache/${this.id}.jpg', true).writeString(outputString);
|
||||
var imgData = ResourceLoader.getFileEntry('data/previewcache/${this.id}.jpg');
|
||||
var img = new BitmapData(1, 1);
|
||||
img.setPixel(0, 0, 0);
|
||||
return Tile.fromBitmap(img);
|
||||
#end
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue