Grocel / 3D-Stream-Radio

It is an spawnable scripted entity for Garry's Mod that allows you to play online streams and local files as 3D world sound.
https://steamcommunity.com/sharedfiles/filedetails/?id=246756300
17 stars 4 forks source link

Fix storing forbidden URLs. #1

Closed nepeat closed 6 years ago

nepeat commented 6 years ago

Fixes this Lua error because the variable didn't have the LIB scope to it.

[ERROR] lua/streamradio_core/cache.lua:388: attempt to index global 'forbidden' (a nil value)
  1. onsuccess - lua/streamradio_core/cache.lua:388
   2. unknown - lua/includes/modules/http.lua:29
Grocel commented 6 years ago

Thanks for that fix. I will merge this later today.