From 4207b002ce3ae345192b9580f19cfdebca3ee64b Mon Sep 17 00:00:00 2001 From: Kyle Date: Thu, 21 Apr 2022 19:44:24 +0800 Subject: [PATCH] Honor AUTOLOAD_EXTENSIONS in clientprefs include (#1718) * Optional autoload extensions * revert autoload for cstrike/tf2 --- plugins/include/clientprefs.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/include/clientprefs.inc b/plugins/include/clientprefs.inc index 43adf4590b..925e7ff07c 100644 --- a/plugins/include/clientprefs.inc +++ b/plugins/include/clientprefs.inc @@ -326,7 +326,11 @@ public Extension __ext_cprefs = { name = "Client Preferences", file = "clientprefs.ext", +#if defined AUTOLOAD_EXTENSIONS autoload = 1, +#else + autoload = 0, +#endif #if defined REQUIRE_EXTENSIONS required = 1, #else