From 959b061da39b97500090c6cf7ba95a2dd7152ed6 Mon Sep 17 00:00:00 2001 From: Aviu00 <93730715+Aviu00@users.noreply.github.com> Date: Sat, 1 Jun 2024 12:42:16 +0000 Subject: [PATCH] - tweak: Tweak sleep timer. (#322) --- Content.Shared/Bed/Sleep/SharedSleepingSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Bed/Sleep/SharedSleepingSystem.cs b/Content.Shared/Bed/Sleep/SharedSleepingSystem.cs index 55014bab07..fa9b20db73 100644 --- a/Content.Shared/Bed/Sleep/SharedSleepingSystem.cs +++ b/Content.Shared/Bed/Sleep/SharedSleepingSystem.cs @@ -42,7 +42,7 @@ namespace Content.Server.Bed.Sleep _actionsSystem.AddAction(uid, ref component.WakeAction, WakeActionId, uid); // TODO remove hardcoded time. - _actionsSystem.SetCooldown(component.WakeAction, _gameTiming.CurTime, _gameTiming.CurTime + TimeSpan.FromSeconds(2f)); + _actionsSystem.SetCooldown(component.WakeAction, _gameTiming.CurTime, _gameTiming.CurTime + TimeSpan.FromSeconds(15f)); // WD EDIT } private void OnShutdown(EntityUid uid, SleepingComponent component, ComponentShutdown args) @@ -88,4 +88,4 @@ public sealed partial class WakeActionEvent : InstantActionEvent; public sealed class SleepStateChangedEvent(bool fellAsleep) : EntityEventArgs { public bool FellAsleep = fellAsleep; -} \ No newline at end of file +}