Merge pull request #10773 from Putnam3145/whoops-gaseous

Fixes to hypno toggle
This commit is contained in:
kevinz000
2020-01-29 15:51:01 -07:00
committed by GitHub
2 changed files with 5 additions and 3 deletions

View File

@@ -333,6 +333,8 @@ Creating a chem with a low purity will make you permanently fall in love with so
..()
/datum/reagent/fermi/proc/FallInLove(mob/living/carbon/Lover, mob/living/carbon/Love)
if(Lover.client?.prefs.cit_toggles & NEVER_HYPNO)
return // doesn't even give a message, it's just ignored
if(Lover.has_status_effect(STATUS_EFFECT_INLOVE))
to_chat(Lover, "<span class='warning'>You are already fully devoted to someone else!</span>")
return