Fixes #92714 - Admin Cure Diseases now adds immunity to disease (#92723)

## About The Pull Request

Fixes #92714

Admin Cure all in secrets.dm explicitly did not add immunity from curing
all diseases, which meant re-infection happened, it passed a value of 0
which prevented immunity.

It is permanent immunity to that disease with no time limit so added a
prompt to clarify the button.
## Why It's Good For The Game

- Makes the anti disease button for admins better
This commit is contained in:
SimplyLogan
2025-08-26 22:37:40 +01:00
committed by GitHub
parent 618ee7d6f3
commit e17c21b82c
+2 -2
View File
@@ -94,12 +94,12 @@ ADMIN_VERB(secrets, R_NONE, "Secrets", "Abuse harder than you ever have before w
//Buttons for helpful stuff. This is where people land in the tgui
if("clear_virus")
var/choice = tgui_alert(usr, "Are you sure you want to cure all disease?",, list("Yes", "Cancel"))
var/choice = tgui_alert(usr, "Are you sure you want to cure all disease? This will also grant immunity for that disease",, list("Yes", "Cancel"))
if(choice == "Yes")
message_admins("[key_name_admin(holder)] has cured all diseases.")
for(var/thing in SSdisease.active_diseases)
var/datum/disease/D = thing
D.cure(0)
D.cure()
if("list_bombers")
holder.holder.list_bombers()