Modular Tablets: Fix ringtone box (#66334)

This commit is contained in:
magatsuchi
2022-04-19 20:10:23 -05:00
committed by GitHub
parent 2575c09890
commit ef9da831ca

View File

@@ -102,7 +102,7 @@
switch(action)
if("PDA_ringSet")
var/t = tgui_input_text(usr, "Enter a new tablet ID", "Computer ID", "", 20)
var/t = tgui_input_text(usr, "Enter a new ringtone", "Ringtone", "", 20)
var/mob/living/usr_mob = usr
if(in_range(computer, usr_mob) && computer.loc == usr_mob && t)
if(SEND_SIGNAL(computer, COMSIG_TABLET_CHANGE_ID, usr_mob, t) & COMPONENT_STOP_RINGTONE_CHANGE)