summaryrefslogtreecommitdiff
path: root/src/KingSystem/System/Timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/System/Timer.cpp')
-rw-r--r--src/KingSystem/System/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/System/Timer.cpp b/src/KingSystem/System/Timer.cpp
index 00749b9f..64aef391 100644
--- a/src/KingSystem/System/Timer.cpp
+++ b/src/KingSystem/System/Timer.cpp
@@ -4,7 +4,7 @@
namespace ksys {
void Timer::update(f32* t, f32 rate) {
- *t += VFR::instance()->getDeltaTime() * rate;
+ *t += VFR::instance()->getDeltaFrame() * rate;
}
void Timer::update() {