Skip to content

Commit

Permalink
useless src
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Nov 9, 2023
1 parent 261d685 commit ecc0fd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/carbon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,11 @@
set name = "Sleep"
set category = "IC"

if(src.sleeping)
if(sleeping)
to_chat(usr, SPAN_DANGER("You are already sleeping"))
return
if(alert(src,"You sure you want to sleep for a while?","Sleep","Yes","No") == "Yes")
src.sleeping = 20 //Short nap
sleeping = 20 //Short nap


/mob/living/carbon/Collide(atom/movable/AM)
Expand Down

0 comments on commit ecc0fd6

Please sign in to comment.