Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarProjectile.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-17 17:33:31 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-17 17:33:31 +1100
commit9dc1eb7312a1bf5d8a606ac4e47395e5334e60f6 (patch)
treeea6a60e442062027288304b55dc5a0c4d669435c /source/game/StarProjectile.cpp
parent4e0d7598e10a83ea416c6cf244b13181dd875cb9 (diff)
InterpolationTracker operates on time in seconds instead of steps now
Diffstat (limited to 'source/game/StarProjectile.cpp')
-rw-r--r--source/game/StarProjectile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarProjectile.cpp b/source/game/StarProjectile.cpp
index 116fd08..cfb93ba 100644
--- a/source/game/StarProjectile.cpp
+++ b/source/game/StarProjectile.cpp
@@ -572,7 +572,7 @@ void Projectile::processAction(Json const& action) {
if (stepsDelay == 0)
function(world());
else
- world()->timer(stepsDelay, function);
+ world()->timer((float)stepsDelay / 60.f, function);
};
if (command == "tile") {