From ab8bbbd11892037238428d5a431de3c0690f1f9b 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 ebbb5cc7b1..09e1826062 100644 --- a/plugins/include/clientprefs.inc +++ b/plugins/include/clientprefs.inc @@ -331,7 +331,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