From 1838e79d6af83dbed2f1b387acf02aacca0eb4bc Mon Sep 17 00:00:00 2001 From: BrickPi <49528459+BrickPi@users.noreply.github.com> Date: Sun, 7 May 2023 12:41:44 -0500 Subject: Implement session start (SS-54) (#1) --- src/openvic2/GameManager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/openvic2/GameManager.cpp') diff --git a/src/openvic2/GameManager.cpp b/src/openvic2/GameManager.cpp index 58e40bb..da775ba 100644 --- a/src/openvic2/GameManager.cpp +++ b/src/openvic2/GameManager.cpp @@ -28,6 +28,7 @@ void GameManager::tick() { } return_t GameManager::setup() { + session_start = time(nullptr); clock.reset(); today = { 1836 }; set_needs_update(); -- cgit v1.2.3-56-ga3b1