mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13: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)
|
function GetCourse(sharecode)
|
||||||
local url = domain:GetString() .. "/getcourse.php"
|
local url = domain:GetString() .. "/getcourse.php"
|
||||||
.. "?sharecode=" .. sharecode
|
.. "?sharecode=" .. sharecode
|
||||||
.. "&map=" .. game.GetMap()
|
.. "&map=" .. string.gsub(game.GetMap(), " ", "-")
|
||||||
.. "&key=" .. apikey:GetString()
|
.. "&key=" .. apikey:GetString()
|
||||||
|
|
||||||
http.Fetch(url, function(body, length, headers, code)
|
http.Fetch(url, function(body, length, headers, code)
|
||||||
|
|
Loading…
Reference in a new issue