diff --git a/src/Core/Resource/Script/NGameList.cpp b/src/Core/Resource/Script/NGameList.cpp index fdde9717..35c0581d 100644 --- a/src/Core/Resource/Script/NGameList.cpp +++ b/src/Core/Resource/Script/NGameList.cpp @@ -74,7 +74,7 @@ void SerializeGameList(IArchive& Arc) ENSURE(Arc.ParamBegin("Game", 0)); // Determine which game is being serialized - const auto Game = static_cast(GameIdx); + auto Game = static_cast(GameIdx); Arc << SerialParameter("ID", Game, SH_Attribute); ASSERT(Game != EGame::Invalid);