Mining bots now work upon being health upgraded

This commit is contained in:
joep van der velden
2018-11-07 20:23:46 +01:00
parent 0add4f614b
commit 469832b0d2
+2
View File
@@ -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)