mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
[MIRROR] immortal heart attack fix (#27382)
* immortal heart attack fix (#82738) ## About The Pull Request cybernetic hearts no longer permanently break when you die, as they would try to restart after you get revived but then the proc to stop the heart attack would get early returned because the heart is immune to heart attacks ## Why It's Good For The Game having to explode to revive because of surplus heart seems like a bug ## Changelog 🆑 fix: being revived with a cyber-heart now properly restarts the cyber heart /🆑 --------- Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com> * immortal heart attack fix --------- Co-authored-by: TheRyeGuyWhoWillNowDie <70169560+TheRyeGuyWhoWillNowDie@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>
This commit is contained in:
co-authored by
MrMelbert
TheRyeGuyWhoWillNowDie
parent
0733a4e1bb
commit
8e53457041
@@ -823,7 +823,7 @@
|
||||
* Returns TRUE if heart status was changed (heart attack -> no heart attack, or visa versa)
|
||||
*/
|
||||
/mob/living/carbon/proc/set_heartattack(status)
|
||||
if(!can_heartattack())
|
||||
if(status && !can_heartattack())
|
||||
return FALSE
|
||||
|
||||
var/obj/item/organ/internal/heart/heart = get_organ_slot(ORGAN_SLOT_HEART)
|
||||
|
||||
Reference in New Issue
Block a user