optimizes MouseEnter (#22753)

* optimizes MouseEnter

* Update code/game/atoms_movable.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* Update code/game/turfs/simulated/walls.dm

* spelling mistake GO

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
GDN
2023-10-09 20:46:40 +01:00
committed by GitHub
co-authored by Contrabang
parent c043babd51
commit f1a4a9e1ac
10 changed files with 35 additions and 17 deletions
+1
View File
@@ -754,6 +754,7 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons
deltimer(tip_timer) //delete any in-progress timer if the mouse is moved off the item before it finishes
closeToolTip(usr)
remove_outline()
return ..()
/obj/item/MouseDrop_T(obj/item/I, mob/user)
if(!user || HAS_TRAIT(user, TRAIT_HANDS_BLOCKED) || src == I)