Fixes "????" making you vomit more than normal (#24230)

* Dummy disease check

* Contra review

* Update code/datums/diseases/advance/advance.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
DGamerL
2024-02-19 15:49:14 +01:00
committed by GitHub
parent 3288816b0c
commit 42f23e73bb
4 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -248,7 +248,7 @@
addtimer(CALLBACK(src, PROC_REF(recharge)), 30 SECONDS)
addtimer(CALLBACK(src, PROC_REF(message_to_owner), owner, "<span class='warning'>Your [name] fails to return to its normal rhythm!</span>"), 3 SECONDS)
if(owner.HasDisease(new /datum/disease/critical/heart_failure(0)))
if(owner.HasDisease(/datum/disease/critical/heart_failure))
to_chat(owner, "<span class='warning'>Your [name] detects a cardiac event and attempts to return to its normal rhythm!</span>")
if(prob(40) && emagged)
attempted_restart = TRUE