Revert "Temporarily disables sleeping on simple mobs"

This commit is contained in:
Kashargul
2024-09-07 22:48:48 +02:00
committed by GitHub
parent 1fd3d01753
commit edc6ba5f8d
-5
View File
@@ -1334,11 +1334,6 @@
/mob/living/verb/mob_sleep()
set name = "Sleep"
set category = "IC"
if(istype(src, /mob/living/simple_mob))
to_chat(src, SPAN_NOTICE("Sleeping is currently disabled on simple mobs due to a bug."))
return
if(!toggled_sleeping && alert(src, "Are you sure you wish to go to sleep? You will snooze until you use the Sleep verb again.", "Sleepy Time", "No", "Yes") == "No")
return
toggled_sleeping = !toggled_sleeping