Skip to content

Commit

Permalink
annoying pathology fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Dec 1, 2024
1 parent 4545c04 commit 7240efd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
UnregisterSignal(host_symptom, COMSIG_SYMPTOM_TRIGGER)

/datum/symptom_varient/recursive/proc/start_chain()
trigger_symptom()

addtimer(CALLBACK(src, PROC_REF(trigger)), 2 SECONDS)
addtimer(CALLBACK(src, PROC_REF(trigger)), 4 SECONDS)
if(trigger_symptom())
addtimer(CALLBACK(src, PROC_REF(trigger)), 2 SECONDS, TIMER_DELETE_ME)
addtimer(CALLBACK(src, PROC_REF(trigger)), 4 SECONDS, TIMER_DELETE_ME)

/datum/symptom_varient/recursive/proc/trigger()
host_symptom.run_effect(host_disease.affected_mob, host_disease)
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
var/datum/symptom_varient/attached_varient
// This is our attached varient used for updating desc and Symptom copy code.

/datum/symptom/Destroy(force)
QDEL_NULL(attached_varient)
return ..()

/datum/symptom/proc/minormutate()
if (prob(20))
Expand Down

0 comments on commit 7240efd

Please sign in to comment.