diff --git a/code/modules/pda/pda_tgui.dm b/code/modules/pda/pda_tgui.dm index cbc4813b29..6d57a6c25e 100644 --- a/code/modules/pda/pda_tgui.dm +++ b/code/modules/pda/pda_tgui.dm @@ -45,6 +45,7 @@ data["idLink"] = (id ? text("[id.registered_name], [id.assignment]") : "--------") data["useRetro"] = retro_mode + data["touch_silent"] = touch_silent data["cartridge_name"] = cartridge ? cartridge.name : "" data["stationTime"] = stationtime2text() //worldtime2stationtime(world.time) // Aaa which fucking one is canonical there's SO MANY @@ -102,6 +103,8 @@ id_check(usr, 1) if("Retro") retro_mode = !retro_mode + if("TouchSounds") + touch_silent = !touch_silent if("Ringtone") return set_ringtone() else diff --git a/tgui/packages/tgui/interfaces/Pda.js b/tgui/packages/tgui/interfaces/Pda.js index a1f52b283a..6c4428c05b 100644 --- a/tgui/packages/tgui/interfaces/Pda.js +++ b/tgui/packages/tgui/interfaces/Pda.js @@ -127,6 +127,7 @@ const PDASettings = (props, context) => { idInserted, idLink, cartridge_name, + touch_silent, } = data; return ( @@ -138,6 +139,13 @@ const PDASettings = (props, context) => { content={"Retro Theme"} onClick={() => act("Retro")} /> + +