mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
Fixes blockers blocking themselves + cleanup (#59808)
This commit is contained in:
@@ -127,7 +127,10 @@
|
||||
/obj/structure/window/proc/on_exit(datum/source, atom/movable/leaving, direction)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
if (istype(leaving) && (leaving.pass_flags & pass_flags_self))
|
||||
if(leaving == src)
|
||||
return // Let's not block ourselves.
|
||||
|
||||
if (leaving.pass_flags & pass_flags_self)
|
||||
return
|
||||
|
||||
if (fulltile)
|
||||
|
||||
Reference in New Issue
Block a user