From ff4a5aef197a8998e14dd5fb44f4a7b8a47e49fb Mon Sep 17 00:00:00 2001 From: AnturK Date: Thu, 12 Oct 2023 18:53:25 +0200 Subject: [PATCH] Fixes blast door controllers not working correctly (#78929) I made a mistake, blast door controllers assume numbers and unfortunately i can't just change that too due to assumption we do not want players to link to premapped ids. Fixes #78902 --- code/game/machinery/doors/poddoor.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/doors/poddoor.dm b/code/game/machinery/doors/poddoor.dm index a29129222a8..5b3e2322d61 100644 --- a/code/game/machinery/doors/poddoor.dm +++ b/code/game/machinery/doors/poddoor.dm @@ -49,7 +49,7 @@ return if (deconstruction != BLASTDOOR_FINISHED) return - var/change_id = tgui_input_text(user, "Set the door controllers ID", "Door Controller ID", id, 100) + var/change_id = tgui_input_number(user, "Set the door controllers ID (Current: [id])", "Door Controller ID", isnum(id) ? id : null, 100) if(!change_id || QDELETED(usr) || QDELETED(src) || !usr.can_perform_action(src, FORBID_TELEKINESIS_REACH)) return id = change_id