From 6a30c3e4f22de4d0f8f32107f614f597f5f39cc1 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 12 Feb 2024 13:01:15 +0100 Subject: Rescue player from void if current chunk wasn't generated prior --- src/Time.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Time.cpp') diff --git a/src/Time.cpp b/src/Time.cpp index 7f59250..e459374 100644 --- a/src/Time.cpp +++ b/src/Time.cpp @@ -20,6 +20,10 @@ U64 Time::total_frames() const { return m_total_frames; } +Time::Tick Time::tick() const { + return total_frames(); +} + Real Time::delta() const { return m_delta; } -- cgit 1.4.1