TGUI fixes, part 3 (#16560)

* a

* TGUI fixes part 3

* ugh

* bwuh

* ambiguous my ass

* AOAOAOAO

* pt 4

* extra foolproof

* a

* ok good thing i caught that

* enable that for AI

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
Matt Atlas
2023-06-27 23:33:21 +02:00
committed by GitHub
parent 06f8ced03b
commit e237808ea9
25 changed files with 259 additions and 178 deletions

View File

@@ -143,11 +143,11 @@
"focused" = (focused_conv == channel)
)
if(can_interact)
our_channel["msg"] = channel.messages
our_channel["users"] = list()
for(var/datum/ntnet_user/U in channel.users)
var/uref = text_ref(U)
our_channel["users"] += list(list("ref" = uref, "username" = U.username))
data["msg"] = channel.messages
data["channels"] += list(our_channel)
data["users"] = list()

View File

@@ -36,6 +36,7 @@
"wtype" = W.wtype
))
data["allwarrants"] = allwarrants
data["active_warrant"] = null
return data
/datum/computer_file/program/digitalwarrant/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state)