Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Oct 7, 2023
1 parent f5db9bf commit c742ba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
. = ..()
playsound(owner, 'monkestation/sound/voice/terror.ogg', 100, falloff_exponent = 0, use_reverb = FALSE)
for(var/mob/living/carbon/human/human in view(7, owner))
if(human == owner)
continue
human.overlay_fullscreen("terror", /atom/movable/screen/fullscreen/curse, 1)
human.Shake(duration = 5 SECONDS)
human.stamina.adjust(-60)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,5 @@
soul_punishment++
addtimer(CALLBACK(src, PROC_REF(remove_punishment_layer)), 5 MINUTES)

if(soul_punishment == 1)
owner.current.overlay_fullscreen("punishment", /atom/movable/screen/fullscreen/soul_punishment, 1)

/datum/antagonist/slasher/proc/remove_punishment_layer()
soul_punishment--
if(soul_punishment == 0)
owner.current.clear_fullscreen("punishment", 50)

0 comments on commit c742ba1

Please sign in to comment.