From 5d1c11e4a7c113e196c34d9d32fd3a2c7aef6cd8 Mon Sep 17 00:00:00 2001 From: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com> Date: Wed, 28 Jun 2023 09:20:29 +0200 Subject: [PATCH] Fixes communications intel objective being instantly completed (#3723) # About the pull request tcomms_startup sets on = TRUE and is called on Initialize(), silly. This means it just checks when you toggle the state of the tower (usually to on) Doesn't check if you inputted the frequencies I guess but eh # Explain why it's good for the game Don't give marines free intel they didn't earn # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: fix: Communications intel objective now actually works /:cl: --- code/game/machinery/telecomms/presets.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/telecomms/presets.dm b/code/game/machinery/telecomms/presets.dm index ce5e9a743bc5..a25293aebbd3 100644 --- a/code/game/machinery/telecomms/presets.dm +++ b/code/game/machinery/telecomms/presets.dm @@ -60,7 +60,7 @@ return TRUE return FALSE -/obj/structure/machinery/telecomms/relay/preset/tower/tcomms_startup() +/obj/structure/machinery/telecomms/relay/preset/tower/update_state() . = ..() if(on) playsound(src, 'sound/machines/tcomms_on.ogg', vol = 80, vary = FALSE, sound_range = 16, falloff = 0.5)