mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Reduce the default TPS (#5326)
It is our suggestion for a long while to keep the TPS at 30 for servers. However the default was always 60. I believe its better to have it as a default.
This commit is contained in:
@@ -48,6 +48,7 @@ END TEMPLATE-->
|
||||
### Other
|
||||
|
||||
* Added obsoletion warning for `Control.Dispose()`. New code should not rely on it.
|
||||
* Reduced the default tickrate to 30 ticks.
|
||||
|
||||
### Internal
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ level = 1
|
||||
enabled = false
|
||||
|
||||
[net]
|
||||
tickrate = 60
|
||||
tickrate = 30
|
||||
port = 1212
|
||||
bindto = "::,0.0.0.0"
|
||||
max_connections = 256
|
||||
|
||||
@@ -289,7 +289,7 @@ namespace Robust.Shared
|
||||
/// This influences both how frequently game code processes, and how frequently updates are sent to clients.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<int> NetTickrate =
|
||||
CVarDef.Create("net.tickrate", 60, CVar.ARCHIVE | CVar.REPLICATED | CVar.SERVER);
|
||||
CVarDef.Create("net.tickrate", 30, CVar.ARCHIVE | CVar.REPLICATED | CVar.SERVER);
|
||||
|
||||
/// <summary>
|
||||
/// Offset CurTime at server start by this amount (in seconds).
|
||||
|
||||
Reference in New Issue
Block a user