Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/server/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/server/main.cpp')
-rw-r--r--source/server/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/server/main.cpp b/source/server/main.cpp
index ad16988..f4d4b91 100644
--- a/source/server/main.cpp
+++ b/source/server/main.cpp
@@ -47,10 +47,10 @@ int main(int argc, char** argv) {
{
Logger::info("Server Version {} ({}) Source ID: {} Protocol: {}", StarVersionString, StarArchitectureString, StarSourceIdentifierString, StarProtocolVersion);
- float updateRate = 1.0f / WorldTimestep;
+ float updateRate = 1.0f / GlobalTimestep;
if (auto jUpdateRate = configuration->get("updateRate")) {
updateRate = jUpdateRate.toFloat();
- ServerWorldTimestep = WorldTimestep = 1.0f / updateRate;
+ ServerGlobalTimestep = GlobalTimestep = 1.0f / updateRate;
Logger::info("Configured tickrate is {:4.2f}hz", updateRate);
}