mirror of
https://codeberg.org/demostf/plugin.git
synced 2026-06-04 00:54:08 +02:00
fix: log uploaded demo url
In order to be able to capture uploaded demos' URLs by all kinds of TF2 log readers, let's log the uploaded demo URL to the server. PrintToChatAll() does not produce any log, so it's pretty useless. We can fix that by calling LogToGame().
This commit is contained in:
parent
0380b7209d
commit
6802e16927
2 changed files with 1 additions and 0 deletions
BIN
demostf.smx
BIN
demostf.smx
Binary file not shown.
|
|
@ -145,5 +145,6 @@ public ShowResponse()
|
||||||
new String:output[512];
|
new String:output[512];
|
||||||
ReadFileString(resultFile, output, sizeof(output));
|
ReadFileString(resultFile, output, sizeof(output));
|
||||||
PrintToChatAll("[demos.tf]: %s", output);
|
PrintToChatAll("[demos.tf]: %s", output);
|
||||||
|
LogToGame("[demos.tf]: %s", output);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue