From 71ebf5dd51319e6abd2af9f78ec0c5dd1272153f Mon Sep 17 00:00:00 2001 From: Baa <9057997+Baa14453@users.noreply.github.com> Date: Thu, 16 Apr 2020 17:07:20 +0100 Subject: [PATCH] Allows drones to open windoors by walking into them (#8655) --- code/game/machinery/doors/windowdoor.dm | 2 +- html/changelogs/drone_windoor_fix.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/drone_windoor_fix.yml diff --git a/code/game/machinery/doors/windowdoor.dm b/code/game/machinery/doors/windowdoor.dm index b94e4251f4e..06eee8e17ea 100644 --- a/code/game/machinery/doors/windowdoor.dm +++ b/code/game/machinery/doors/windowdoor.dm @@ -69,7 +69,7 @@ return if (src.operating) return - if (src.density && (!issmall(AM) || ishuman(AM)) && src.allowed(AM)) + if (src.density && (!issmall(AM) || ishuman(AM) || isrobot(AM)) && src.allowed(AM)) open() //secure doors close faster var/time = check_access(null) ? 50 : 20 diff --git a/html/changelogs/drone_windoor_fix.yml b/html/changelogs/drone_windoor_fix.yml new file mode 100644 index 00000000000..8479d9da7b0 --- /dev/null +++ b/html/changelogs/drone_windoor_fix.yml @@ -0,0 +1,4 @@ +author: SpaceBaa +delete-after: True +changes: + - bugfix: "Fixed an issue where drones could not open windoors by walking into them." \ No newline at end of file