From 2178b5a8fba43685aad93d1336307341a9802400 Mon Sep 17 00:00:00 2001 From: Vladimir <47463683+Wend4r@users.noreply.github.com> Date: Thu, 3 Oct 2024 13:11:53 +0300 Subject: [PATCH] Hash command line parameter --- core/provider/source2/provider_source2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/provider/source2/provider_source2.cpp b/core/provider/source2/provider_source2.cpp index ef05448f..41ead6e9 100644 --- a/core/provider/source2/provider_source2.cpp +++ b/core/provider/source2/provider_source2.cpp @@ -32,7 +32,7 @@ #include #include #include - +#include static Source2Provider g_Source2Provider; @@ -247,7 +247,7 @@ bool Source2Provider::Hook_AllowDedicatedServers(EUniverse universe) const const char* Source2Provider::GetCommandLineValue(const char* key, const char* defval) { - return CommandLine()->ParmValue(key, defval); + return CommandLine()->ParmValue(MakeStringToken(key), defval); } void Source2Provider::ConsolePrint(const char* str)