After the update all my scripts that has the following line in the beginning of the script:
suddenly return this error:
[ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_sg552/shared.lua:1: attempt to index global ‘resource’ (a nil value)
- unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_sg552/shared.lua:1
I know I can just use the Resourses.lua file and add them there, but I was just curious why the resource.AddFile command is suddenly returning errors.