Error when entering a theater (private and public)
Christpilled opened this issue · comments
So whenever I enter a theater in cinema_theatron, I get a "script issues" warning and an error in console. Here's what the error looks like:
[cinema] addons/cinema/gamemodes/cinema/gamemode/extensions/cl_draw.lua:26: bad argument #1 to 'SetMaterial' (IMaterial expected, got no value)
- SetMaterial - [C]:-1
- HTMLTexture - addons/cinema/gamemodes/cinema/gamemode/extensions/cl_draw.lua:26
3. v - addons/cinema/gamemodes/cinema/gamemode/modules/theater/cl_draw.lua:74
4. unknown - lua/includes/modules/hook.lua:84 (x13)
I've tried restarting Gmod, unsubbing and subbing back to the gamemode but nothing worked. Any fixes?