- tweak: Tweak sleep timer. (#322)
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Content.Server.Bed.Sleep
|
|||||||
_actionsSystem.AddAction(uid, ref component.WakeAction, WakeActionId, uid);
|
_actionsSystem.AddAction(uid, ref component.WakeAction, WakeActionId, uid);
|
||||||
|
|
||||||
// TODO remove hardcoded time.
|
// 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)
|
private void OnShutdown(EntityUid uid, SleepingComponent component, ComponentShutdown args)
|
||||||
|
|||||||
Reference in New Issue
Block a user