-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
refactors attack hand proc header #6720
Conversation
// todo: better desc | ||
// todo: e_args is not specified all the time, yet. | ||
/atom/proc/attack_hand(mob/user, datum/event_args/actor/clickchain/e_args) | ||
// todo: remove | ||
if(isnull(e_args)) | ||
e_args = new(user) | ||
// end | ||
if(on_attack_hand(e_args)) |
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 may have noticed e_args isn't provided in most places
this is because everyone is uh, wrong. like. you're supposed to call attack_hand from clickchain, but people just lazy-out and have it called from literally fucking everywhere
list/params doesn't work for that reason.
so we're continuing the pattern; we'll slowly bring things around.
needed for #5677
this is to make that PR slightly easier to review.