mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix customs url encode and custom list text color
This commit is contained in:
parent
2418c7e524
commit
0c7286cf62
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ class MPCustoms {
|
|||
|
||||
public static function download(mission:MPCustomEntry, onFinish:() -> Void, onFail:() -> Void) {
|
||||
var lastSlashIdx = mission.path.lastIndexOf('/');
|
||||
var dlPath = "https://marbleblastultra.randomityguy.me/" + mission.path.substr(0, lastSlashIdx) + ".zip";
|
||||
var dlPath = "https://marbleblastultra.randomityguy.me/" + StringTools.urlEncode(mission.path.substr(0, lastSlashIdx)) + ".zip";
|
||||
Http.get(dlPath, (zipData) -> {
|
||||
var reader = new Reader(new BytesInput(zipData));
|
||||
var entries:Array<haxe.zip.Entry> = null;
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ class MultiplayerLevelSelectGui extends GuiImage {
|
|||
|
||||
customList = new GuiTextListCtrl(arial14, MPCustoms.missionList.map(mission -> {
|
||||
return mission.title;
|
||||
}));
|
||||
}), 0xFFFFFF);
|
||||
var custSelectedIdx = 0;
|
||||
customList.selectedColor = 0xF29515;
|
||||
customList.selectedFillColor = 0x858585;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue