From 3525d1f31793b2dd878241be7b5763d5e3943923 Mon Sep 17 00:00:00 2001 From: Guillaume Bittoun Date: Thu, 20 Oct 2016 22:34:41 +0200 Subject: [PATCH] Crash fix: first call to TickGame must not occur before TickDraw. referencing #3 --- src/engine/ticker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/ticker.cpp b/src/engine/ticker.cpp index d2d8a178..27609774 100644 --- a/src/engine/ticker.cpp +++ b/src/engine/ticker.cpp @@ -504,7 +504,7 @@ void Ticker::Setup(float fps) #if LOL_FEATURE_THREADS data->gamethread = new thread(std::bind(&TickerData::GameThreadMain, data)); - data->gametick.push(1); + data->drawtick.push(1); data->diskthread = new thread(std::bind(&TickerData::DiskThreadMain, data)); #endif