Proper fix (And yes i did forget about this PR)

This commit is contained in:
Dovixx
2019-04-30 22:45:00 +03:00
parent 9024108454
commit e0015b69ba
+4 -3
View File
@@ -325,9 +325,10 @@ var/list/SpookyGhosts = list("ghost","shade","shade2","ghost-narsie","horror","s
to_chat(user, "<span class='notice'>[pictures_left] photos left.</span>")
icon_state = icon_off
on = 0
if(user.mind && user.mind.assigned_role == "Chaplain")
if(prob(24))
handle_haunt(user)
if(istype(src,/obj/item/camera/spooky))
if(user.mind && user.mind.assigned_role == "Chaplain" && see_ghosts)
if(prob(24))
handle_haunt(user)
spawn(64)
icon_state = icon_on
on = 1