mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-28 23:59:40 +01:00
[MIRROR] ports a bunch of grep checks from TG (#10361)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Kashargul
Cameron Lennox
parent
21031b169b
commit
3cfc33bfde
@@ -14,4 +14,4 @@ GLOBAL_DATUM_INIT(tgui_deep_inventory_state, /datum/tgui_state/deep_inventory_st
|
||||
/datum/tgui_state/deep_inventory_state/can_use_topic(src_object, mob/user)
|
||||
if(!user.contains(src_object))
|
||||
return STATUS_CLOSE
|
||||
return user.shared_tgui_interaction(src_object)
|
||||
return user.shared_tgui_interaction(src_object)
|
||||
|
||||
@@ -9,4 +9,4 @@ GLOBAL_DATUM_INIT(tgui_mentor_state, /datum/tgui_state/mentor_state, new)
|
||||
/datum/tgui_state/mentor_state/can_use_topic(src_object, mob/user)
|
||||
if(has_mentor_powers(user.client))
|
||||
return STATUS_INTERACTIVE
|
||||
return STATUS_CLOSE
|
||||
return STATUS_CLOSE
|
||||
|
||||
Reference in New Issue
Block a user