From 262c8cbeaceb37a1171a58af953a8f5dcd783bab Mon Sep 17 00:00:00 2001 From: Y0SH1M4S73R Date: Mon, 26 May 2025 09:35:30 -0400 Subject: [PATCH] [NO GBP] Fixes the MOD Soul Core saying it has no charge in the UI while worn (#91244) ## About The Pull Request I made an oopsie and forgot a single NOT operation in the line that checks if the suit is being worn. This also almost certainly fixes a runtime that I assume would happen when looking at the interface of a suit not currently being worn. ## Why It's Good For The Game The soul core isn't supposed to tell you there's no charge source when it is clearly fully functioning. ## Changelog :cl: fix: The MOD soul core no longer tells you there's no charge source while worn. /:cl: --- code/modules/mod/mod_core.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mod/mod_core.dm b/code/modules/mod/mod_core.dm index 004373669f2..f9c3793b074 100644 --- a/code/modules/mod/mod_core.dm +++ b/code/modules/mod/mod_core.dm @@ -605,7 +605,7 @@ /obj/item/mod/core/soul/get_chargebar_string() var/mob/living/wearer = mod.wearer - if(wearer || HAS_TRAIT(wearer, TRAIT_NO_SOUL)) + if(!wearer || HAS_TRAIT(wearer, TRAIT_NO_SOUL)) return "No power source detected." if(CONFIG_GET(flag/disable_human_mood)) return "Infinite"