From 7075b1f16134f4fcbb4c475d9d6564121546d2c7 Mon Sep 17 00:00:00 2001 From: AnturK Date: Sat, 6 Feb 2016 14:27:49 +0100 Subject: [PATCH] Fixes bot repair --- code/modules/mob/living/simple_animal/bot/bot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm index aaa61f49a39..6bc40cdd8d4 100644 --- a/code/modules/mob/living/simple_animal/bot/bot.dm +++ b/code/modules/mob/living/simple_animal/bot/bot.dm @@ -282,7 +282,7 @@ return var/obj/item/weapon/weldingtool/WT = W if(WT.remove_fuel(0, user)) - health = min(maxHealth, health+10) + adjustHealth(-10) user.visible_message("[user] repairs [src]!","You repair [src].") else user << "The welder must be on for this task!"