From 40a48f564e28b59190981f92922cf324737af76d Mon Sep 17 00:00:00 2001 From: BrentVL-1952840 <70229620+Brentdevent@users.noreply.github.com> Date: Fri, 24 Mar 2023 10:48:52 +0100 Subject: [PATCH] Fix maximum players on servers --- src/client/component/dedicated_patches.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/component/dedicated_patches.cpp b/src/client/component/dedicated_patches.cpp index fd65f2e1..45a961c1 100644 --- a/src/client/component/dedicated_patches.cpp +++ b/src/client/component/dedicated_patches.cpp @@ -87,6 +87,9 @@ namespace dedicated_patches patch_is_mod_loaded_checks(); spawn_server_hook.create(game::SV_SpawnServer, spawn_server_stub); + + // Don't count server as client + utils::hook::jump(0x14052F0F5_g, 0x14052F139_g); } }; }