Merge pull request #2 from Arie/master

Update fastdl to serveme.tf maps CDN
This commit is contained in:
Robin Appelman 2023-11-01 19:55:02 +01:00 committed by GitHub
commit 2de524cdbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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 `'https://dl.serveme.tf/maps'`)
You can control the location where it tries to download the map from by setting `sm_map_download_base` (defaults to `'https://fastdl.serveme.tf/maps'`)
The plugin looks for maps at `${sm_map_download_base}/${map_name}.bsp`

View file

@ -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://fastdl.serveme.tf/maps", "map download url", FCVAR_PROTECTED);
RegServerCmd("changelevel", HandleChangeLevelAction);
}