fix world_benchmark update() param

This commit is contained in:
yzh 2024-02-01 15:00:57 +08:00
parent 98472dbb7b
commit 33db825d04
No known key found for this signature in database
GPG Key ID: 42F9CE5DC67BB975

View File

@ -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",