splewis / get5

CS:GO Sourcemod plugin for competitive matches/scrims
GNU General Public License v3.0
558 stars 176 forks source link

Prevent Cvar restore from messing up demo upload #935

Closed nickdnk closed 1 year ago

nickdnk commented 1 year ago

This fixes #934.

Because of the multiple delays/timers and callbacks used when uploading demos, the code becomes a little messy if we want to retain local copies of get5_demo_upload_url, get5_demo_upload_header_key, get5_demo_upload_header_value and get5_demo_delete_after_upload.

This allows these options to be set in cvars of a match configuration and be specific to a match.