Skip to content

Commit

Permalink
AsciiManager::OnUpdate: Use inlined timer function
Browse files Browse the repository at this point in the history
  • Loading branch information
toadster172 committed Nov 2, 2024
1 parent 6538e40 commit f906eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AsciiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ChainCallbackResult AsciiManager::OnUpdate(AsciiManager *mgr)

curPopup->position.y -= 0.5f * g_Supervisor.effectiveFramerateMultiplier;
curPopup->timer.Tick();
if ((i32)(curPopup->timer.current > 60))
if (curPopup->timer > 60)
{
curPopup->inUse = false;
}
Expand Down

0 comments on commit f906eed

Please sign in to comment.