Removed SWEP.Precache #1161

Merged
merged 1 commit into from Apr 22, 2016

Projects

None yet

2 participants

@robotboy655 robotboy655 merged commit a0cb158 into garrynewman:master Apr 22, 2016
@robotboy655
Collaborator
robotboy655 commented Apr 22, 2016 edited

On second thought, this might cause Lua errors for people who call this manually since this existed for so long.

@Kefta
Contributor
Kefta commented Apr 22, 2016 edited

Looking through the global GitHub instances, I can't find any where people manually call SWEP.Precache -- it used to be called automatically, anyway. Also, even if they manually called it, they must have overrided it right? Or else they'd be calling an empty method.

@robotboy655
Collaborator

I guess we shall see. SWEP.Precache was never automatically called, the hook is a myth and never actually existed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment