From ff48bac921d62b24e8330b13a8eee3050ef920b8 Mon Sep 17 00:00:00 2001 From: throwawayuseless Date: Tue, 27 May 2025 12:02:03 -0400 Subject: [PATCH] Fix my own issue less than an hour after making it, thus creating a dangerously powerful infinite gbp loop. (#91354) ## About The Pull Request Flips the wavelength and intensity around in microlaser code toc heck how long it takes to apply fixes #91353 ## Why It's Good For The Game the code itself says it should be the other way around smh smh ## Changelog :cl: fix: Wavelength is now the main factor in how long your microlaser takes to activate, rather than intensity for some reason. /:cl: --- code/game/objects/items/devices/traitordevices.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/devices/traitordevices.dm b/code/game/objects/items/devices/traitordevices.dm index 1135708959e..46e9b706432 100644 --- a/code/game/objects/items/devices/traitordevices.dm +++ b/code/game/objects/items/devices/traitordevices.dm @@ -96,7 +96,7 @@ effective or pretty fucking useless. addtimer(VARSET_CALLBACK(src, used, FALSE), cooldown) addtimer(VARSET_CALLBACK(src, icon_state, "health"), cooldown) to_chat(user, span_warning("Successfully irradiated [interacting_with].")) - addtimer(CALLBACK(src, PROC_REF(radiation_aftereffect), interacting_with, intensity), (wavelength+(intensity*4))*5) + addtimer(CALLBACK(src, PROC_REF(radiation_aftereffect), interacting_with, intensity), (intensity+(wavelength*4))*5) return . | ITEM_INTERACT_SUCCESS to_chat(user, span_warning("The radioactive microlaser is still recharging."))