diff --git a/src/game/game.cpp b/src/game/game.cpp index f0465fb5629..7a492348649 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -6468,7 +6468,8 @@ void Game::addCreatureCheck(const std::shared_ptr &creature) { g_dispatcher().addEvent([this, index = uniform_random(0, EVENT_CREATURECOUNT - 1), creature] { checkCreatureLists[index].emplace_back(creature); - }, "Game::addCreatureCheck"); + }, + "Game::addCreatureCheck"); } void Game::removeCreatureCheck(const std::shared_ptr &creature) {