mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-28 12:53:02 +05:00
fix maps with spaces in name (fuck you edge runner)
This commit is contained in:
parent
54e2e82901
commit
ec240dc229
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue