up stimulants (no sleep) (#25886)

* up stimulants (no sleep)

* Update SharedSleepingSystem.cs
This commit is contained in:
takemysoult
2024-03-30 09:52:27 +03:00
committed by GitHub
parent 0f6c7c9d51
commit 97b390d35f
2 changed files with 12 additions and 1 deletions

View File

@@ -37,7 +37,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(15));
_actionsSystem.SetCooldown(component.WakeAction, _gameTiming.CurTime, _gameTiming.CurTime + TimeSpan.FromSeconds(2f));
}
private void OnShutdown(EntityUid uid, SleepingComponent component, ComponentShutdown args)