From 218255e33bc6acd9a45a2e7b89787eed4564a37e Mon Sep 17 00:00:00 2001 From: grungussuss <96586172+grungussuss@users.noreply.github.com> Date: Fri, 2 May 2025 17:55:51 +0300 Subject: [PATCH] fixes zeno's paradox for rust_heretic_act on windows (#90891) ## About The Pull Request closes https://github.com/tgstation/tgstation/issues/90705 ## Changelog :cl: grungussuss fix: fixed rust heretic hand not being able to destroy windows or windoors /:cl: --- code/game/machinery/doors/windowdoor.dm | 2 +- code/game/objects/structures/window.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/doors/windowdoor.dm b/code/game/machinery/doors/windowdoor.dm index 3954bf6f521..ba44acc126b 100644 --- a/code/game/machinery/doors/windowdoor.dm +++ b/code/game/machinery/doors/windowdoor.dm @@ -355,7 +355,7 @@ AddElement(/datum/element/rust) set_armor(/datum/armor/none) take_damage(get_integrity() * 0.5) - modify_max_integrity(max_integrity * 0.5) + modify_max_integrity(initial(max_integrity) * 0.2) /obj/machinery/door/window/should_atmos_process(datum/gas_mixture/air, exposed_temperature) return (exposed_temperature > T0C + (reinf ? 1600 : 800)) diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index 90b8ec87b38..e8e06cf3417 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -623,7 +623,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/window/reinforced/unanchored/spawner, AddElement(/datum/element/rust) set_armor(/datum/armor/none) take_damage(get_integrity() * 0.5) - modify_max_integrity(max_integrity * 0.5) + modify_max_integrity(initial(max_integrity) * 0.2) /obj/structure/window/plasma name = "plasma window"