wiremod / wire

Garry's Mod add-on that allows users to wire up components in order to make more elaborate automatic and user-controlled contraptions.
http://www.wiremod.com
Apache License 2.0
551 stars 331 forks source link

Even more __index call reduction #3012

Closed thecraftianman closed 4 months ago

thecraftianman commented 5 months ago

Same thing as #3006; this just reduces ent:__index calls in a number of functions that I didn't catch in that PR.

github-actions[bot] commented 4 months ago

This pull request has been marked as stale as there haven't been any changes in the past month. It will be closed in 15 days.

thegrb93 commented 4 months ago

I still don't understand why that local is being assigned in the Initialize function

thecraftianman commented 4 months ago

It just doesn't work whatsoever when you try to get the baseclass's function before the entity is initialized.