diff --git a/src/Components/Modules/Dedicated.cpp b/src/Components/Modules/Dedicated.cpp index f37d2af8..f0a15590 100644 --- a/src/Components/Modules/Dedicated.cpp +++ b/src/Components/Modules/Dedicated.cpp @@ -264,9 +264,9 @@ namespace Components // Dedicated only behaviour from IW5MP Dedicated Server. if (com_dedicated->current.integer != 1 && com_dedicated->current.integer != 2) { - Game::DvarValue val; - val.integer = 0; - Game::Dvar_SetVariant(const_cast(com_dedicated), val, Game::DVAR_SOURCE_INTERNAL); + Game::DvarValue value; + value.integer = 0; + Game::Dvar_SetVariant(const_cast(com_dedicated), value, Game::DVAR_SOURCE_INTERNAL); } });