aboutsummaryrefslogtreecommitdiff
path: root/src/openvic2/GameManager.cpp
diff options
context:
space:
mode:
author BrickPi <49528459+BrickPi@users.noreply.github.com>2023-05-07 19:41:44 +0200
committer GitHub <noreply@github.com>2023-05-07 19:41:44 +0200
commit1838e79d6af83dbed2f1b387acf02aacca0eb4bc (patch)
treefb08e98d1940bef44e02935e63578e2ce47581c1 /src/openvic2/GameManager.cpp
parent64bbf86b623a3cca2eaf9009d7acdcde067592e3 (diff)
Implement session start (SS-54) (#1)
Diffstat (limited to 'src/openvic2/GameManager.cpp')
-rw-r--r--src/openvic2/GameManager.cpp1
1 files changed, 1 insertions, 0 deletions
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();