mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 11:26:41 +01:00
* Time to become our TGUI God. * Visually sprucing the copyrights. These shouldn't be ignored :) * babababa * https://github.com/tgstation/tgstation/pull/50422 * dooootdooot * Holy fuck Updates the tools folder Updates our build tooling Updates TGUI MASSIVELY I'm going to go scream in a hole now * ?? * Was it this dum thing? * orrrr * It's this isn't it * Did it manually * hubah * TGUI Changelog * oops * What if I use the original? * Lets try this again * Shit commenting out for now * asdasd * Fuck it use the old one and remember to replace later * Updates yarn.lock * Lets try something horrid * Nope it HATES THAT * fucc * The great eslinting * HOLY SHIT * Final? * ? * asd tgstation/tgstation/pull/59914 tgstation/tgstation/pull/66317 * Improved Asset handling. * Oops * Subsystem stuff * Recompiles the Changelong again. * Finally Fixed Communicators * Compiled Changelogs... AGAIN
18 lines
371 B
Plaintext
18 lines
371 B
Plaintext
/**
|
|
*! Copyright (c) 2020 Aleksej Komarov
|
|
*! SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/**
|
|
* tgui state: observer_state
|
|
*
|
|
* Checks that the user is an observer/ghost.
|
|
*/
|
|
|
|
GLOBAL_DATUM_INIT(observer_state, /datum/ui_state/observer_state, new)
|
|
|
|
/datum/ui_state/observer_state/can_use_topic(src_object, mob/user)
|
|
if(isobserver(user))
|
|
return UI_INTERACTIVE
|
|
return UI_CLOSE
|