From 0918c4808dc60ed47078f5d934dbaa844cf5fa6c Mon Sep 17 00:00:00 2001 From: deathrobotpunch <87455177+deathrobotpunch@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:51:24 +0800 Subject: [PATCH] Fusion reactor oversight fix (#7157) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # About the pull request fixes #7127 This if/then/otherwise statement was activating the wrong message when it was overloaded meaning that when you were restoring safety’s then chat would say that you weren’t. switched the then statements around and now it’s working again # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: fix: fusion reactor overload messages now show correctly /:cl: --------- Co-authored-by: BeagleGaming1 <56142455+BeagleGaming1@users.noreply.github.com> --- code/game/machinery/fusion_engine.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/fusion_engine.dm b/code/game/machinery/fusion_engine.dm index 06ae3321a2c5..ab84f7b89c94 100644 --- a/code/game/machinery/fusion_engine.dm +++ b/code/game/machinery/fusion_engine.dm @@ -356,8 +356,8 @@ return set_overloading(!overloaded) - to_chat(user, SPAN_WARNING("You finish [overloaded ? "overloading" : "restoring"] the safeties on [src].")) - log_game("[key_name(user)] has [overloaded ? "overloaded" : "restored the safeties of"] a generator.") + to_chat(user, SPAN_WARNING("You finish [overloaded ? "restoring" : "overloading"] the safeties on [src].")) + log_game("[key_name(user)] has [overloaded ? "restored the safeties of" : "overloaded"] a generator.") return . = ..()