Skip to content

Commit 1144461

Browse files
authored
hysteric and selfharm breakdowns now nullcheck after delay (#8613)
1 parent 6051e32 commit 1144461

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

code/modules/sanity/breakdowns.dm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201

202202
/datum/breakdown/negative/selfharm/occur()
203203
spawn(delay)
204-
++holder.owner.suppress_communication
204+
++holder?.owner.suppress_communication
205205
return ..()
206206

207207
/datum/breakdown/negative/selfharm/conclude()
@@ -240,9 +240,9 @@
240240

241241
/datum/breakdown/negative/hysteric/occur()
242242
spawn(delay)
243-
holder.owner.SetWeakened(4)
244-
holder.owner.SetStunned(4)
245-
++holder.owner.suppress_communication
243+
holder?.owner.SetWeakened(4)
244+
holder?.owner.SetStunned(4)
245+
++holder?.owner.suppress_communication
246246
return ..()
247247

248248
/datum/breakdown/negative/hysteric/conclude()

0 commit comments

Comments
 (0)