From 3d8faa3703b912986141e100d2ce680ee6df1360 Mon Sep 17 00:00:00 2001 From: SabreML <57483089+SabreML@users.noreply.github.com> Date: Tue, 9 Jan 2024 23:32:52 +0000 Subject: [PATCH] Fixes tunnels not showing on the minimap (#5406) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # About the pull request Fixes tunnels not showing on the minimap for xenos and observers. Also fixes tunnels not having forsaken handling unless they were placed on top of a resin trap. It was just a small indentation/positioning error in #5394. # Explain why it's good for the game ˈfɪksɪz # Testing Photographs and Procedure
Screenshots & Videos **Before:** ![dreamseeker_ruDebdbg8W](https://github.com/cmss13-devs/cmss13/assets/57483089/61a2c4a7-1c4e-4341-8525-e313b32f45ea) **After:** ![dreamseeker_fDSFTLzkHW](https://github.com/cmss13-devs/cmss13/assets/57483089/08f31a8e-5f05-4942-a5fb-904e601d689c)
# Changelog :cl: fix: Fixed tunnels not showing on the minimap. /:cl: --- code/modules/cm_aliens/structures/tunnel.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/cm_aliens/structures/tunnel.dm b/code/modules/cm_aliens/structures/tunnel.dm index ac2fcdb87d29..973920fe2693 100644 --- a/code/modules/cm_aliens/structures/tunnel.dm +++ b/code/modules/cm_aliens/structures/tunnel.dm @@ -48,8 +48,10 @@ if(resin_trap) qdel(resin_trap) - if(hivenumber == XENO_HIVE_NORMAL) - RegisterSignal(SSdcs, COMSIG_GLOB_GROUNDSIDE_FORSAKEN_HANDLING, PROC_REF(forsaken_handling)) + if(hivenumber == XENO_HIVE_NORMAL) + RegisterSignal(SSdcs, COMSIG_GLOB_GROUNDSIDE_FORSAKEN_HANDLING, PROC_REF(forsaken_handling)) + + SSminimaps.add_marker(src, z, get_minimap_flag_for_faction(hivenumber), "xenotunnel") /obj/structure/tunnel/proc/forsaken_handling() SIGNAL_HANDLER @@ -62,8 +64,6 @@ UnregisterSignal(SSdcs, COMSIG_GLOB_GROUNDSIDE_FORSAKEN_HANDLING) - SSminimaps.add_marker(src, z, get_minimap_flag_for_faction(hivenumber), "xenotunnel") - /obj/structure/tunnel/Destroy() if(hive) hive.tunnels -= src