This commit is contained in:
SandPoot
2023-02-15 23:38:42 -03:00
parent 04eb7226e6
commit 28f0e55962

View File

@@ -4,7 +4,7 @@
/// This is not necessary for Type-B interactions, as you can just apply the flag and register to the signal yourself.
/atom/proc/register_context()
flags_1 |= HAS_CONTEXTUAL_SCREENTIPS_1
RegisterSignal(src, COMSIG_ATOM_REQUESTING_CONTEXT_FROM_ITEM, .proc/add_context)
RegisterSignal(src, COMSIG_ATOM_REQUESTING_CONTEXT_FROM_ITEM, .proc/add_context, override = TRUE)
/// Creates a "Type-B" contextual screentip interaction.
/// When a user hovers over this, this proc will be called in order