Skip to content

Commit

Permalink
Fixes blast door controllers not working correctly (#78929)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AnturK authored and AlbertNanotracen committed May 13, 2024
1 parent 989fb94 commit 32cea44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/doors/poddoor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,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
Expand Down

0 comments on commit 32cea44

Please sign in to comment.