summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Enders <smenders@gmail.com>2021-01-21 21:37:36 -0500
committerStephen Enders <smenders@gmail.com>2021-01-21 21:37:36 -0500
commit588d9b55cb5a6b636a0411f763259c6319a137aa (patch)
treede846b645fd60fe3f71302d401f887c4ef176d30
parentacb6e83d29f9589205b96bbc0dabbd516d7b409d (diff)
Ensure timers initialize not started
-rw-r--r--timedLatch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/timedLatch.cpp b/timedLatch.cpp
index 0629ac8..66714a5 100644
--- a/timedLatch.cpp
+++ b/timedLatch.cpp
@@ -6,6 +6,7 @@ TimedLatch::TimedLatch(sf::Time duration)
{
this->duration = duration;
this->clock = sf::Clock();
+ this->isStarted = false;
};
void