Core/Misc: Added float chrono typedefs

This commit is contained in:
Shauren
2025-01-19 18:29:38 +01:00
parent 453ae0ab88
commit cb4013efe6
4 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -971,7 +971,7 @@ struct at_dh_glaive_tempest : AreaTriggerAI
{
_scheduler.Schedule(0ms, [this](TaskContext task)
{
std::chrono::duration<float> period = 500ms; // 500ms, affected by haste
FloatMilliseconds period = 500s; // 500ms, affected by haste
if (Unit* caster = at->GetCaster())
{
period *= *caster->m_unitData->ModHaste;