diff --git a/source/ps/Game.cpp b/source/ps/Game.cpp index a311079d2f..c72f453844 100644 --- a/source/ps/Game.cpp +++ b/source/ps/Game.cpp @@ -351,7 +351,7 @@ void CGame::SetPlayerID(player_id_t playerID) void CGame::StartGame(JS::MutableHandleValue attribs, const std::string& savedState) { - if (m_ReplayLogger != false) + if (m_ReplayLogger) m_ReplayLogger->StartGame(attribs); RegisterInit(attribs, savedState);