Skip to content

Commit 311017f

Browse files
committed
make print msg make sense
1 parent 003e0c0 commit 311017f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

user/sofplus/addons/http2.func

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function http2_init()
2626

2727
function http2_init_print()
2828
{
29-
echo "HTTP Downloader v1.2 Loaded"
29+
echo "HTTP Downloader v1.3 Loaded"
3030
}
3131

3232
function http2_spawn_dl()
@@ -55,7 +55,7 @@ function http2_spawn_dl()
5555
else
5656
{
5757
// We have duration of configstrings to download map ( should freeze here possibly )
58-
sp_sc_cvar_sset ~text "Downloading : " #_http2_mapname ".zip"
58+
sp_sc_cvar_sset ~text "[HTTP] Checking repo for " #_http2_mapname ".zip"
5959
echo #~text
6060
sp_sc_cvar_save http_tmp ~full_path
6161
}
@@ -119,6 +119,8 @@ function http2_dl_filename(*)
119119
// Time is up! The server is ready for slow downloads
120120
sp_sc_cvar_copy ~val #~1
121121
//echo "DL FILENAME == " #~val
122+
sp_sc_cvar_sset ~text "[HTTP] Map " #_http2_mapname ".zip not in repo"
123+
echo #~text
122124
}
123125

124126
// 1-Not connected

0 commit comments

Comments
 (0)