ctrl: fix bogus elapsed time calculation. doh!
This commit is contained in:
parent
a72253131c
commit
97fc0cc13f
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ void perform_actions(ControllerContext &ctx, const ControllerActions &actions)
|
||||||
}
|
}
|
||||||
|
|
||||||
inline auto dp_now() { return std::chrono::steady_clock::now(); }
|
inline auto dp_now() { return std::chrono::steady_clock::now(); }
|
||||||
inline auto dp_elapsed(const std::chrono::steady_clock::time_point &tStart) { return tStart - dp_now(); }
|
inline auto dp_elapsed(const std::chrono::steady_clock::time_point &tStart) { return dp_now() - tStart; }
|
||||||
|
|
||||||
void check_on_dooms(ControllerContext &ctx)
|
void check_on_dooms(ControllerContext &ctx)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue