mirror of
https://codeberg.org/spire/mapdownloader.git
synced 2026-06-03 10:14:12 +02:00
fixed README.md to correct download url. Fixed mapdownloader.sp to have proper url (removed double /). Plugin needs to be recompiled.
This commit is contained in:
parent
d797455fb4
commit
82d2cb025f
2 changed files with 2 additions and 2 deletions
|
|
@ -10,6 +10,6 @@ To use the plugin simple change the level using `rcon changelevel ...` as normal
|
|||
|
||||
## Configuration
|
||||
|
||||
You can controll the location where it tries to download the map from by setting `sm_map_download_base` (defaults to `'http://fakkelbrigade.eu/maps'`)
|
||||
You can controll the location where it tries to download the map from by setting `sm_map_download_base` (defaults to `'http://dl.serveme.tf/maps'`)
|
||||
|
||||
The plugin looks for maps at `${sm_map_download_base}/${map_name}.bsp`
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ new CURL_Default_opt[][2] = {
|
|||
new Handle:g_hCvarUrl = INVALID_HANDLE;
|
||||
|
||||
public OnPluginStart() {
|
||||
g_hCvarUrl = CreateConVar("sm_map_download_base", "http://dl.serveme.tf/maps/", "map download url", FCVAR_PROTECTED);
|
||||
g_hCvarUrl = CreateConVar("sm_map_download_base", "http://dl.serveme.tf/maps", "map download url", FCVAR_PROTECTED);
|
||||
|
||||
RegServerCmd("changelevel", HandleChangeLevelAction);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue