From 8f730c2a1932ec25f71e8b042d2e637ce2d80082 Mon Sep 17 00:00:00 2001 From: BeebBeebBoob Date: Wed, 8 Jan 2025 06:56:33 +0300 Subject: [PATCH] bugfix: buildmode properly finishes on quit(eg. area_edit fix) (#6336) --- code/modules/buildmode/buttons.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/buildmode/buttons.dm b/code/modules/buildmode/buttons.dm index 7eff2cdae2f..4c8a01ac9d4 100644 --- a/code/modules/buildmode/buttons.dm +++ b/code/modules/buildmode/buttons.dm @@ -84,5 +84,6 @@ name = "Quit Buildmode" /atom/movable/screen/buildmode/quit/Click() + bd.mode.exit_mode(bd) // so area_edit won't leave highlighted icons bd.quit() return TRUE