mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 17:43:35 +01:00
Mining bots now work upon being health upgraded
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user