-
-
Notifications
You must be signed in to change notification settings - Fork 506
Fix server-side debugscript behavior #3499
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
Fix server-side debugscript behavior #3499
Conversation
Additionally refactor loop.
|
Nice |
TracerDS
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Nico8345
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 🚀
Thanks for help @FileEX Co-Authored-By: FileEX <alkom@t.pl>
|
|
botder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You really don't need the enumerations in the header file. You don't use them there.
botder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not going to nag any further, but you should know that CScriptDebugging::CheckForSufficientDebugLevel could be static (can also be a simple free-standing function in the .cpp file) because you don't access/modify any class member in the function.
Partially solves #3498 due the fact the client isn't aware of debugscript level. Thanks for @TracerDS (refactored for loop) & @MegadreamsBE (help with getting rid of magic numbers).