-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revisit changes made in #661 #684
Comments
Extending the controller class with let's say edit: with the few null changes to handles, this should not even be needed thanks to optional chaining |
Joining the discussion after talking on the Discord. I agree with @Poggicek that we should push developers to learn the differences between pawns and controllers rather than create edge-case solutions. xstage on Discord suggested adding a warning message to |
I've raised a PR reverting the functionality and adding an obsolete compiler warning to just the ccsplayercontroller class instead. I would like to avoid runtime warnings if possible. Open to adding a new |
I am all for preventing developers from stuff that will only lead to broken behavior, however in this case I don't think anything is wrong with the behavior addressed in the #661 except for not meeting developer's expectations, the original PR did not include any cases where this could be bad in any way.
the
Teleport
method is a general function targeted at any entity, including the controller, it's not a special method with specific behavior for each entity.These changes have only made the code ambiguous and instead of developers learning the difference between controllers and pawns it tries to smooth out the line between them, creating only more confusion.
Please do join the discussion below this issue and say what your perspective on this is.
The text was updated successfully, but these errors were encountered: