From e7cb455deb2f8000aea7d13b89c9c64d44770fdd Mon Sep 17 00:00:00 2001 From: Theos Date: Fri, 22 Nov 2024 08:15:42 -0500 Subject: [PATCH] Repeating mech repair (#3775) ## About The Pull Request loop ## Why It's Good For The Game ## Changelog :cl: fix: mech repair now loop /:cl: Signed-off-by: Theos --- code/game/mecha/mecha_defense.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/mecha/mecha_defense.dm b/code/game/mecha/mecha_defense.dm index dd65c6c499ca..3b4b81e86cc2 100644 --- a/code/game/mecha/mecha_defense.dm +++ b/code/game/mecha/mecha_defense.dm @@ -300,7 +300,7 @@ clearInternalDamage(MECHA_INT_TANK_BREACH) to_chat(user, span_notice("You repair the damaged gas tank.")) return - if(obj_integrity < max_integrity) + while(obj_integrity < max_integrity) if(!do_after(user, 20, target= src)) return if(!W.use_tool(src, user, 0, volume=50, amount=1))