From 54ea3658e592666e161eefa88f1fc46a5ff87ac5 Mon Sep 17 00:00:00 2001 From: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Date: Sat, 17 Jun 2023 21:56:59 +0530 Subject: [PATCH] Stop hitting the windoor after it has finished opening/closing. (#76094) ## About The Pull Request Fixes #64315 So annoying ## Changelog :cl: fix: you don't hit the windoor after it has finished opening/closing. /:cl: --- code/game/machinery/doors/windowdoor.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/doors/windowdoor.dm b/code/game/machinery/doors/windowdoor.dm index 263f764f3b0..de2d1e1dea4 100644 --- a/code/game/machinery/doors/windowdoor.dm +++ b/code/game/machinery/doors/windowdoor.dm @@ -407,7 +407,8 @@ try_to_activate_door(user) /obj/machinery/door/window/try_to_activate_door(mob/user, access_bypass = FALSE) - if (..()) + . = ..() + if(.) autoclose = FALSE /obj/machinery/door/window/unrestricted_side(mob/opener)