From f5ab6fb5e8be7b73e6003d4145081d5e0c0ce287 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Wed, 27 Dec 2023 00:32:01 +0000 Subject: Folder restructuring from primedev (#624) Copies of over the primedev folder structure for easier cherry-picking of further changes Co-authored-by: F1F7Y --- primedev/scripts/server/miscserverfixes.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 primedev/scripts/server/miscserverfixes.cpp (limited to 'primedev/scripts/server/miscserverfixes.cpp') diff --git a/primedev/scripts/server/miscserverfixes.cpp b/primedev/scripts/server/miscserverfixes.cpp new file mode 100644 index 00000000..48c2c111 --- /dev/null +++ b/primedev/scripts/server/miscserverfixes.cpp @@ -0,0 +1,6 @@ + +ON_DLL_LOAD("server.dll", MiscServerFixes, (CModule module)) +{ + // nop out call to VGUI shutdown since it crashes the game when quitting from the console + module.Offset(0x154A96).NOP(5); +} -- cgit v1.2.3