TGUI Fallback (+ 2 Placeholders)

This commit is contained in:
ItsSelis
2022-05-16 18:34:51 +02:00
parent d2a0198370
commit f15d2a0af4
2 changed files with 12 additions and 0 deletions
@@ -55,6 +55,9 @@
return TRUE
switch(action)
if("__fallback")
to_chat(usr, "TGUI Fallback Triggered!")
if("show_player_info")
var/datum/tgui_module/player_notes_info/A = new(src)
A.key = params["name"]
@@ -94,6 +97,9 @@
return TRUE
switch(action)
if("__fallback")
to_chat(usr, "TGUI Fallback Triggered!")
if("add_player_info")
var/key = params["ckey"]
var/add = tgui_input_message(usr, "Write your comment below.", "Add Player Info")