diff --git a/src/MPCustoms.hx b/src/MPCustoms.hx index 0ccf1407..ba4e6e68 100644 --- a/src/MPCustoms.hx +++ b/src/MPCustoms.hx @@ -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 = null; diff --git a/src/gui/MultiplayerLevelSelectGui.hx b/src/gui/MultiplayerLevelSelectGui.hx index f9959560..9a1a46bc 100644 --- a/src/gui/MultiplayerLevelSelectGui.hx +++ b/src/gui/MultiplayerLevelSelectGui.hx @@ -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;