count the deploy timer in milliseconds

the models came back with the counter moving, but every troop sat in its
deploy pose: DeployTime is 1000 and it shares a table with HitSpeed 1100
and 1500, so it is milliseconds, not ticks. moving the counter by one a
tick stretched a one second deploy across a thousand ticks - most of the
match. it now moves a tick's worth at a time, so deploying takes the
twenty ticks it should.
This commit is contained in:
WiseDev 2026-08-23 16:43:30 +03:00
parent b8c12cd00b
commit 04fbabb7d2

View file

@ -210,7 +210,8 @@ impl LogicBattle {
continue;
};
if character.deploy_timer < deploy_time {
character.deploy_timer += 1;
character.deploy_timer =
(character.deploy_timer + TICK_MILLISECONDS).min(deploy_time);
}
}
}