From 04a8caca416a6a3a98ab3891f74f83be10ba972d Mon Sep 17 00:00:00 2001 From: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Date: Thu, 28 Nov 2019 11:39:25 +1000 Subject: [PATCH] Fixes elevator doors opening in passing --- code/modules/turbolift/turbolift_console.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/turbolift/turbolift_console.dm b/code/modules/turbolift/turbolift_console.dm index bc6bafbe52..f4c66e871c 100644 --- a/code/modules/turbolift/turbolift_console.dm +++ b/code/modules/turbolift/turbolift_console.dm @@ -71,7 +71,7 @@ return light_up() pressed(user) - if(floor == lift.current_floor) + if(floor == lift.current_floor && !(lift.target_floor)) //Make sure we're not going anywhere before opening doors lift.open_doors() spawn(3) reset()