Medbots now know they should be healing other damage types instead of brute (#51606)

This commit is contained in:
ラッピ from PSO2
2020-06-15 10:40:37 -04:00
committed by GitHub
parent f429d64b38
commit 7ba921ee6d
2 changed files with 2 additions and 3 deletions
@@ -255,6 +255,8 @@
S.firstaid = firstaid
S.robot_arm = robot_arm
S.healthanalyzer = healthanalyzer
var/obj/item/storage/firstaid/FA = firstaid
S.damagetype_healer = initial(FA.damagetype_healed)
qdel(src)
@@ -115,9 +115,6 @@
linked_techweb = SSresearch.science_tech
if(damagetype_healer == "all")
return
var/obj/item/storage/firstaid/FA = firstaid
if(initial(FA.damagetype_healed))
damagetype_healer = initial(FA.damagetype_healed)
/mob/living/simple_animal/bot/medbot/update_mobility()
. = ..()