Skip to content

Commit

Permalink
ecs: pass tickrate as ms
Browse files Browse the repository at this point in the history
  • Loading branch information
zpl-zak committed Jan 29, 2024
1 parent 0bdd4aa commit 8656cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/framework/src/world/types/streaming.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Framework::World::Archetypes {

auto streamable = e.get_mut<Framework::World::Modules::Base::Streamable>();
streamable->owner = guid;
streamable->defaultUpdateInterval = CoreModules::GetTickRate();
streamable->defaultUpdateInterval = CoreModules::GetTickRate() * 1000.0f; // we need ms here

e.add<Framework::World::Modules::Base::TickRateRegulator>();
}
Expand Down

0 comments on commit 8656cad

Please sign in to comment.