TTT: Fix possible script error #1179

Merged
merged 1 commit into from May 18, 2016

Projects

None yet

3 participants

@P4sca1
Contributor
P4sca1 commented May 17, 2016

Currently the function is only returning if ply and weapon is not valid, but when only player is not valid or only the weapon is not valid, the function will continue and will cause script errors.

@P4sca1 P4sca1 Fix possible script error
Currently the function is only returning if ply and weapon is not valid, but when only player is not valid or only the weapon is not valid, the function will continue and will cause script errors.
52425c6
@P4sca1 P4sca1 changed the title from Fix possible script error to TTT: Fix possible script error May 17, 2016
@robotboy655 robotboy655 added the TTT label May 17, 2016
@svdm svdm merged commit 25ea2e3 into garrynewman:master May 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment