aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/scripts/server/miscserverfixes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/scripts/server/miscserverfixes.cpp')
-rw-r--r--NorthstarDLL/scripts/server/miscserverfixes.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/NorthstarDLL/scripts/server/miscserverfixes.cpp b/NorthstarDLL/scripts/server/miscserverfixes.cpp
new file mode 100644
index 00000000..4feca505
--- /dev/null
+++ b/NorthstarDLL/scripts/server/miscserverfixes.cpp
@@ -0,0 +1,7 @@
+#include "pch.h"
+
+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);
+}