mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Fixes some issues with TGUI Alerts, and Text Input (#24282)
* Well... maybe that's not better way * PDA and all_channels encryptionkey * Alert fixes * Bad style
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
var/obj/item/card/id/I = H.wear_id
|
||||
if(istype(I))
|
||||
apply_to_card(I, H, get_all_accesses(), "Debugger", "admin")
|
||||
|
||||
|
||||
H.dna.SetSEState(GLOB.breathlessblock, 1)
|
||||
singlemutcheck(H, GLOB.breathlessblock, MUTCHK_FORCED)
|
||||
H.dna.default_blocks.Add(GLOB.breathlessblock)
|
||||
@@ -67,10 +67,10 @@
|
||||
to_chat(user, "You switch [src] to [change_voice ? "" : "not "]change your voice on syndicate communications.")
|
||||
|
||||
/obj/item/encryptionkey/syndicate/all_channels/AltClick(mob/user)
|
||||
var/new_name = tgui_input_text(user, "Enter new fake agent name...", "New name")
|
||||
var/new_name = tgui_input_text(user, "Enter new fake agent name...", "New name", max_length = MAX_NAME_LEN)
|
||||
if(!new_name)
|
||||
return
|
||||
fake_name = copytext(new_name, 1, MAX_NAME_LEN + 1)
|
||||
fake_name = new_name
|
||||
|
||||
/obj/item/clothing/mask/gas/welding/advanced
|
||||
name = "AVD-CNED welding mask"
|
||||
|
||||
Reference in New Issue
Block a user