[Gamepad]: Remove double check

This commit is contained in:
FutureRave 2023-02-06 18:01:23 +00:00
parent d06092de80
commit cafa9b8ccc
No known key found for this signature in database
GPG Key ID: 22F9079C86CFAB31

View File

@ -2079,7 +2079,9 @@ namespace Components
Gamepad::Gamepad()
{
if (ZoneBuilder::IsEnabled())
{
return;
}
// Initialize gamepad environment
Utils::Hook(0x4059FE, CG_RegisterDvars_Hk, HOOK_CALL).install()->quick();
@ -2110,7 +2112,7 @@ namespace Components
Command::Add("bindgpbuttonsconfigs", Bind_GP_ButtonsConfigs_f);
Command::Add("togglescores", Scores_Toggle_f);
if (Dedicated::IsEnabled() || ZoneBuilder::IsEnabled())
if (Dedicated::IsEnabled())
{
return;
}