mirror of
https://codeberg.org/spire/mapdownloader.git
synced 2026-06-03 18:24:11 +02:00
url fix
This commit is contained in:
parent
7958472917
commit
820d28fd80
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 `'https://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", "https://dl.serveme.tf/maps/", "map download url", FCVAR_PROTECTED);
|
||||
g_hCvarUrl = CreateConVar("sm_map_download_base", "https://dl.serveme.tf/maps", "map download url", FCVAR_PROTECTED);
|
||||
|
||||
RegServerCmd("changelevel", HandleChangeLevelAction);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue