heinrich5991 / libtw2

Some Teeworlds stuff in Rust.™
Apache License 2.0
50 stars 16 forks source link

`CharacterCore::m_HookTick` should have type `Duration` not `Instant` despite name #93

Open Zwelf opened 8 months ago

Zwelf commented 8 months ago

m_HookTick has the type NetTick in protocol.py, but is used as HookDuration. Starting with zero and incrementing one each tick until the roughly 60 ticks = 1.2s are passed.

libtw2 uses the Instant type, but Duration would be more correct.