Call the proper proc

This commit is contained in:
ShizCalev
2020-02-24 01:31:38 -05:00
parent df81c5be4a
commit 0228bc2fbe
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -530,7 +530,7 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
M.adjust_blurriness(15)
if(M.stat != DEAD)
to_chat(M, "<span class='danger'>Your eyes start to bleed profusely!</span>")
if(!(HAS_TRAIT(M, TRAIT_BLIND) || HAS_TRAIT(M, TRAIT_NEARSIGHT)))
if(!(M.is_blind() || HAS_TRAIT(M, TRAIT_NEARSIGHT)))
to_chat(M, "<span class='danger'>You become nearsighted!</span>")
M.become_nearsighted(EYE_DAMAGE)
if(prob(50))