Earu / EasyChat

A modular Garry's Mod chat addon for both users and developers. (EOL 2025)
https://steamcommunity.com/sharedfiles/filedetails/?id=1182471500
GNU General Public License v3.0
90 stars 31 forks source link

Fix global access #93

Closed Python1320 closed 2 years ago

Python1320 commented 2 years ago

It does not because you can reasonably make the same mistake again within the same function. We refer to players as ply not as arg.

Python1320 commented 2 years ago

If local ply = arg smells it is because the function is "fat" itself and that if-branch should be moved to its own function altogether.

Earu commented 2 years ago

Agree to disagree