From 469832b0d21849daf0579d4dbb8e6e8ce50ee73e Mon Sep 17 00:00:00 2001 From: joep van der velden Date: Wed, 7 Nov 2018 20:23:46 +0100 Subject: [PATCH] Mining bots now work upon being health upgraded --- code/modules/mining/minebot.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mining/minebot.dm b/code/modules/mining/minebot.dm index 30e093633f5..7609131a36b 100644 --- a/code/modules/mining/minebot.dm +++ b/code/modules/mining/minebot.dm @@ -274,7 +274,9 @@ if(M.maxHealth != initial(M.maxHealth)) to_chat(user, "[M] already has a reinforced chassis!") return + var/previous = M.maxHealth M.maxHealth = 170 + M.health += M.maxHealth - previous to_chat(user, "You reinforce [M]'s chassis.") qdel(src)