mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user