diff --git a/beatrun/gamemodes/beatrun/gamemode/cl/OnlineCourse.lua b/beatrun/gamemodes/beatrun/gamemode/cl/OnlineCourse.lua index 65cc3b4..fac28ca 100644 --- a/beatrun/gamemodes/beatrun/gamemode/cl/OnlineCourse.lua +++ b/beatrun/gamemodes/beatrun/gamemode/cl/OnlineCourse.lua @@ -29,7 +29,7 @@ concommand.Add("Beatrun_UploadCourse", UploadCourse) function GetCourse(sharecode) local url = domain:GetString() .. "/getcourse.php" .. "?sharecode=" .. sharecode - .. "&map=" .. game.GetMap() + .. "&map=" .. string.gsub(game.GetMap(), " ", "-") .. "&key=" .. apikey:GetString() http.Fetch(url, function(body, length, headers, code)