mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] Fix stuttering getting blocked by any jittering effects (#11238)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2bf149bcb0
commit
ff5d626c92
@@ -1,6 +1,5 @@
|
|||||||
/datum/component/nervousness_disability
|
/datum/component/nervousness_disability
|
||||||
var/mob/owner
|
var/mob/owner
|
||||||
var/gutdeathpressure = 0
|
|
||||||
|
|
||||||
/datum/component/nervousness_disability/Initialize()
|
/datum/component/nervousness_disability/Initialize()
|
||||||
if (!ishuman(parent))
|
if (!ishuman(parent))
|
||||||
|
|||||||
@@ -133,7 +133,7 @@
|
|||||||
message_data[2] = pick(M.say_verbs)
|
message_data[2] = pick(M.say_verbs)
|
||||||
. = 1
|
. = 1
|
||||||
|
|
||||||
else if((CE_SPEEDBOOST in chem_effects) || is_jittery) // motor mouth
|
else if((CE_SPEEDBOOST in chem_effects) || (is_jittery && !stuttering)) // motor mouth, check for stuttering so anxiety doesn't do hyperzine text
|
||||||
// Despite trying to url/html decode these, byond is just being bad and I dunno.
|
// Despite trying to url/html decode these, byond is just being bad and I dunno.
|
||||||
var/static/regex/speedboost_initial = new (@"&[a-z]{2,5};|&#\d{2};","g")
|
var/static/regex/speedboost_initial = new (@"&[a-z]{2,5};|&#\d{2};","g")
|
||||||
// Not herestring because bad vs code syntax highlight panics at apostrophe
|
// Not herestring because bad vs code syntax highlight panics at apostrophe
|
||||||
|
|||||||
Reference in New Issue
Block a user