From e6dee77b7976c5ba00bfae38d712835b0e5ee7e4 Mon Sep 17 00:00:00 2001 From: Artur Date: Tue, 30 Jun 2020 17:01:54 +0300 Subject: [PATCH] Telecomms fixes --- code/game/machinery/announcement_system.dm | 2 +- code/game/machinery/telecomms/computers/logbrowser.dm | 2 +- code/game/machinery/telecomms/computers/message.dm | 2 +- code/game/machinery/telecomms/computers/telemonitor.dm | 2 +- code/game/machinery/telecomms/machine_interactions.dm | 2 +- tgui/packages/tgui/interfaces/TelecommsInteraction.js | 2 +- tgui/packages/tgui/interfaces/TelecommsLogBrowser.js | 2 +- tgui/packages/tgui/interfaces/TelecommsMonitor.js | 2 +- tgui/packages/tgui/interfaces/TelecommsPDALog.js | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/code/game/machinery/announcement_system.dm b/code/game/machinery/announcement_system.dm index d633ebcc09..8db5ca1d17 100644 --- a/code/game/machinery/announcement_system.dm +++ b/code/game/machinery/announcement_system.dm @@ -99,7 +99,7 @@ GLOBAL_LIST_EMPTY(announcement_systems) . = ..() ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open) if(!ui) - ui = new(user, src, ui_key, "announcement_system", "Automated Announcement System", 500, 225, master_ui, state) + ui = new(user, src, ui_key, "AutomatedAnnouncement", "Automated Announcement System", 500, 225, master_ui, state) ui.open() /obj/machinery/announcement_system/ui_data() diff --git a/code/game/machinery/telecomms/computers/logbrowser.dm b/code/game/machinery/telecomms/computers/logbrowser.dm index 68b4e03d8a..9867a1c133 100644 --- a/code/game/machinery/telecomms/computers/logbrowser.dm +++ b/code/game/machinery/telecomms/computers/logbrowser.dm @@ -21,7 +21,7 @@ datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state) ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open) if(!ui) - ui = new(user, src, ui_key, "TeleLogBrowser", "Telecomms Server Monitor", 575, 400, master_ui, state) + ui = new(user, src, ui_key, "TelecommsLogBrowser", "Telecomms Server Monitor", 575, 400, master_ui, state) ui.open() /obj/machinery/computer/telecomms/server/ui_data(mob/user) diff --git a/code/game/machinery/telecomms/computers/message.dm b/code/game/machinery/telecomms/computers/message.dm index 78d0cba6e7..11d50a2858 100644 --- a/code/game/machinery/telecomms/computers/message.dm +++ b/code/game/machinery/telecomms/computers/message.dm @@ -41,7 +41,7 @@ ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open) if(!ui) - ui = new(user, src, ui_key, "TelePDALog", name, 727, 510, master_ui, state) + ui = new(user, src, ui_key, "TelecommsPDALog", name, 727, 510, master_ui, state) ui.open() /obj/machinery/computer/message_monitor/ui_static_data(mob/user) diff --git a/code/game/machinery/telecomms/computers/telemonitor.dm b/code/game/machinery/telecomms/computers/telemonitor.dm index 36a12bb37a..11312fcfaf 100644 --- a/code/game/machinery/telecomms/computers/telemonitor.dm +++ b/code/game/machinery/telecomms/computers/telemonitor.dm @@ -22,7 +22,7 @@ ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open) if(!ui) - ui = new(user, src, ui_key, "Telemonitor", name, 575, 400, master_ui, state) + ui = new(user, src, ui_key, "TelecommsMonitor", name, 575, 400, master_ui, state) ui.open() /obj/machinery/computer/telecomms/monitor/ui_data(mob/user) diff --git a/code/game/machinery/telecomms/machine_interactions.dm b/code/game/machinery/telecomms/machine_interactions.dm index 0b1e5058cf..86aa7905d5 100644 --- a/code/game/machinery/telecomms/machine_interactions.dm +++ b/code/game/machinery/telecomms/machine_interactions.dm @@ -36,7 +36,7 @@ ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open) if(!ui) - ui = new(user, src, ui_key, "TeleInteract", "[name] Access", 520, 500, master_ui, state) + ui = new(user, src, ui_key, "TelecommsInteraction", "[name] Access", 520, 500, master_ui, state) ui.open() /obj/machinery/telecomms/ui_data(mob/user) diff --git a/tgui/packages/tgui/interfaces/TelecommsInteraction.js b/tgui/packages/tgui/interfaces/TelecommsInteraction.js index 17e82abc10..829a4d9152 100644 --- a/tgui/packages/tgui/interfaces/TelecommsInteraction.js +++ b/tgui/packages/tgui/interfaces/TelecommsInteraction.js @@ -4,7 +4,7 @@ import { toFixed } from 'common/math'; import { RADIO_CHANNELS } from '../constants'; import { Button, LabeledList, NumberInput, NoticeBox, Section, Input, Window } from '../components'; -export const TeleInteract = (props, context) => { +export const TelecommsInteraction = (props, context) => { const { act, data } = useBackend(context); const { notice = "", diff --git a/tgui/packages/tgui/interfaces/TelecommsLogBrowser.js b/tgui/packages/tgui/interfaces/TelecommsLogBrowser.js index aabda7d6c9..d0385e9119 100644 --- a/tgui/packages/tgui/interfaces/TelecommsLogBrowser.js +++ b/tgui/packages/tgui/interfaces/TelecommsLogBrowser.js @@ -2,7 +2,7 @@ import { Fragment } from 'inferno'; import { useBackend } from '../backend'; import { Button, LabeledList, NoticeBox, Section, Tabs, Input, Window } from '../components'; -export const TeleLogBrowser = (props, context) => { +export const TelecommsLogBrowser = (props, context) => { const { act, data } = useBackend(context); const { notice, diff --git a/tgui/packages/tgui/interfaces/TelecommsMonitor.js b/tgui/packages/tgui/interfaces/TelecommsMonitor.js index 26454d3f7f..4cb5cd9ea6 100644 --- a/tgui/packages/tgui/interfaces/TelecommsMonitor.js +++ b/tgui/packages/tgui/interfaces/TelecommsMonitor.js @@ -4,7 +4,7 @@ import { RADIO_CHANNELS } from '../constants'; import { Box, Button, LabeledList, NoticeBox, Section, Tabs, Input, Window } from '../components'; -export const Telemonitor = (props, context) => { +export const TelecommsMonitor = (props, context) => { const { act, data } = useBackend(context); const { notice, diff --git a/tgui/packages/tgui/interfaces/TelecommsPDALog.js b/tgui/packages/tgui/interfaces/TelecommsPDALog.js index 5cb8e0196c..de4081b24f 100644 --- a/tgui/packages/tgui/interfaces/TelecommsPDALog.js +++ b/tgui/packages/tgui/interfaces/TelecommsPDALog.js @@ -3,7 +3,7 @@ import { useBackend } from '../backend'; import { act as _act } from '../byond'; import { Button, LabeledList, NoticeBox, Section, Tabs, Input, Window } from '../components'; -export const TelePDALog = (props, context) => { +export const TelecommsPDALog = (props, context) => { const { act, data } = useBackend(context); const { network,