diff options
author | yzh <yaozihao5606@outlook.com> | 2024-02-01 15:00:57 +0800 |
---|---|---|
committer | yzh <yaozihao5606@outlook.com> | 2024-02-01 15:00:57 +0800 |
commit | 33db825d0424ef6b6061f0ee4f20bb5f8642a389 (patch) | |
tree | cee81e2e29d6f525b03940e259ebe822194c26ad /source/utility | |
parent | 98472dbb7b2fc092e8eb673614737777414843a2 (diff) |
fix world_benchmark update() param
Diffstat (limited to 'source/utility')
-rw-r--r-- | source/utility/world_benchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utility/world_benchmark.cpp b/source/utility/world_benchmark.cpp index 40476a1..90524f5 100644 --- a/source/utility/world_benchmark.cpp +++ b/source/utility/world_benchmark.cpp @@ -81,7 +81,7 @@ int main(int argc, char** argv) { lastReport = Time::monotonicTime(); coutf("[{}] {}s | FPS: {} | Entities: {}\n", j, Time::monotonicTime() - start, fps, entityCount); } - worldServer.update(); + worldServer.update(ServerGlobalTimestep * GlobalTimescale); } double totalTime = Time::monotonicTime() - start; coutf("Finished run of running dungeon world '{}' with seed {} for {} steps in {} seconds, average FPS: {}\n", |