-
Notifications
You must be signed in to change notification settings - Fork 222
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
Remove and condense unnecessary side-overrides in core code #4678
Changes from all commits
b485b3e
762711c
4f98b9c
3a5aaf7
6e9683e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -378,7 +378,7 @@ | |
return ..(user, distance, "", jointext(desc_comp, "<br/>")) | ||
|
||
/obj/item/check_mousedrop_adjacency(var/atom/over, var/mob/user) | ||
. = (loc == user && istype(over, /obj/screen/inventory)) || ..() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think /inventory might be correct, there's no need to drag and drop over other elements that I can think of. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
dunno, but it's not the only place that checks for specifically screen as opposed to inventory. was just going for what current code did, since by checking both with |
||
. = (loc == user && istype(over, /obj/screen)) || ..() | ||
|
||
/obj/item/handle_mouse_drop(atom/over, mob/user, params) | ||
|
||
|
@@ -1115,9 +1115,6 @@ modules/mob/living/human/life.dm if you die, you will be zoomed out. | |
step_towards(src,S) | ||
else ..() | ||
|
||
/obj/item/check_mousedrop_adjacency(var/atom/over, var/mob/user) | ||
. = (loc == user && istype(over, /obj/screen)) || ..() | ||
|
||
// Supplied during loadout gear tweaking. | ||
/obj/item/proc/set_custom_name(var/new_name) | ||
base_name = new_name | ||
|
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.
This should return
isOn()
I suspect.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.
Not blocking, just a note.