mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
Revert "Merge pull request #16240 from ShadowLarkens/revert"
This reverts commit885171f985, reversing changes made to3e314f8064.
This commit is contained in:
@@ -1305,20 +1305,18 @@
|
||||
return TRUE
|
||||
|
||||
/mob/MouseEntered(location, control, params)
|
||||
if(usr != src && usr.is_preference_enabled(/datum/client_preference/mob_tooltips) && src.will_show_tooltip())
|
||||
openToolTip(user = usr, tip_src = src, params = params, title = get_nametag_name(usr), content = get_nametag_desc(usr))
|
||||
|
||||
..()
|
||||
if(usr != src && will_show_tooltip())
|
||||
if(usr?.read_preference(/datum/preference/toggle/mob_tooltips))
|
||||
openToolTip(usr, src, params, title = get_nametag_name(usr), content = get_nametag_desc(usr))
|
||||
. = ..()
|
||||
|
||||
/mob/MouseDown()
|
||||
closeToolTip(usr) //No reason not to, really
|
||||
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
/mob/MouseExited()
|
||||
closeToolTip(usr) //No reason not to, really
|
||||
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
// Manages a global list of mobs with clients attached, indexed by z-level.
|
||||
/mob/proc/update_client_z(new_z) // +1 to register, null to unregister.
|
||||
|
||||
Reference in New Issue
Block a user