[Changelog]: Add new version (#839)

This commit is contained in:
Edo
2023-03-17 18:10:56 +00:00
committed by GitHub
parent 960a95b38e
commit 14a650eb50
4 changed files with 47 additions and 4 deletions

View File

@ -60,7 +60,7 @@ namespace Components
ArenaLength::ArenaLength()
{
// Reallocate ui_arenaInfos
// Reallocate ui_arenaInfos
Utils::Hook::Set<char**>(0x4A95F0 + 3, ArenaLength::NewArenaInfos);
Utils::Hook::Set<char**>(0x4A9620 + 3, ArenaLength::NewArenaInfos);
Utils::Hook::Set<char**>(0x4A9653 + 3, ArenaLength::NewArenaInfos);

View File

@ -298,7 +298,7 @@ namespace Components
return flag.value();
}
bool Dvar::IsSettingArchiveDvarsDisabled()
bool Dvar::IsSettingDvarsDisabled()
{
static std::optional<bool> flag;
@ -312,7 +312,7 @@ namespace Components
void Dvar::DvarSetFromStringByName_Stub(const char* dvarName, const char* value)
{
if (IsSettingArchiveDvarsDisabled())
if (IsSettingDvarsDisabled())
{
Logger::Debug("Not allowing server to set '{}'", dvarName);
return;

View File

@ -49,7 +49,7 @@ namespace Components
static void SetFromStringByNameSafeExternal(const char* dvarName, const char* string);
static bool AreArchiveDvarsUnprotected();
static bool IsSettingArchiveDvarsDisabled();
static bool IsSettingDvarsDisabled();
static void DvarSetFromStringByName_Stub(const char* dvarName, const char* value);
static void OnRegisterVariant(Game::dvar_t* dvar);