Refactored to use CyberarmEngine::Window#delta_time instead of our reimplementing it, add WIP frame timing to Overlay using CyberarmEngine::Stats.frames data

This commit is contained in:
2023-04-20 16:14:29 -05:00
parent 8f2d7ff905
commit 2da9edb6d0
6 changed files with 35 additions and 14 deletions

View File

@@ -46,7 +46,7 @@ class IMICFPS
def tick(delta_time)
return unless @map
Publisher.instance.publish(:tick, delta_time * 1000.0)
Publisher.instance.publish(:tick, delta_time)
@map.update
@server&.update