mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 16:19:36 +01:00
Merge pull request #1502 from CHOMPStationBot/upstream-merge-9853
[MIRROR] Fixes vorepanel accessibility requirements
This commit is contained in:
@@ -61,8 +61,19 @@
|
||||
|
||||
// Note, in order to allow others to look at others vore panels, this state would need
|
||||
// to be changed to tgui_always_state, and a custom tgui_status() implemented for true "rights" management.
|
||||
// Currently there is no way for others to look at others vore panels so the above concern can wait.
|
||||
/datum/vore_look/tgui_state(mob/user)
|
||||
return GLOB.tgui_self_state
|
||||
return GLOB.tgui_always_state
|
||||
|
||||
/datum/vore_look/tgui_status(mob/user, datum/tgui_state/state)
|
||||
. = STATUS_CLOSE
|
||||
if(!state)
|
||||
return
|
||||
if(user.client)
|
||||
if(user.stat)
|
||||
. = max(., STATUS_UPDATE)
|
||||
else
|
||||
. = max(., STATUS_INTERACTIVE)
|
||||
|
||||
/datum/vore_look/var/static/list/nom_icons
|
||||
/datum/vore_look/proc/cached_nom_icon(atom/target)
|
||||
|
||||
Reference in New Issue
Block a user