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

Pod controller refactoring #3011

Closed thecraftianman closed 4 months ago

thecraftianman commented 5 months ago
thecraftianman commented 4 months ago

I forgot about these PRs for a couple weeks lol

I've made the recacheOutput method check for self.Outputs.(name).Value instead as requested. I also moved the output trigger for the player's team into PlayerEntered in order to save a bit more performance (do players really need to change teams and have that actually impact other Wire entities without having to get out of the vehicle that often?)