From bfd805737fd58ce3a986eb1e0accc20e54321951 Mon Sep 17 00:00:00 2001 From: keronshb Date: Sun, 22 Aug 2021 12:06:40 -0400 Subject: [PATCH] Fixes mousentered --- code/game/objects/items.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index 3a0790c141..af7b69516d 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -878,6 +878,7 @@ GLOBAL_VAR_INIT(embedpocalypse, FALSE) // if true, all items will be able to emb openToolTip(user,src,params,title = name,content = "[desc]
Force: [force_string]",theme = "") /obj/item/MouseEntered(location, control, params) + SEND_SIGNAL(src, COMSIG_ITEM_MOUSE_ENTER, location, control, params) if((item_flags & IN_INVENTORY || item_flags & IN_STORAGE) && usr.client.prefs.enable_tips && !QDELETED(src) || isobserver(usr)) var/timedelay = usr.client.prefs.tip_delay/100 var/user = usr @@ -921,9 +922,6 @@ GLOBAL_VAR_INIT(embedpocalypse, FALSE) // if true, all items will be able to emb filters -= outline_filter outline_filter = null -//obj/item/MouseEntered(location,control,params) - //SEND_SIGNAL(src, COMSIG_ITEM_MOUSE_ENTER, location, control, params) - // Called when a mob tries to use the item as a tool. // Handles most checks. /obj/item/proc/use_tool(atom/target, mob/living/user, delay, amount=0, volume=0, datum/callback/extra_checks, skill_gain_mult = STD_USE_TOOL_MULT)