summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/fixes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fixes.c b/src/fixes.c
index a948b52..29d5ab3 100644
--- a/src/fixes.c
+++ b/src/fixes.c
@@ -174,6 +174,11 @@ static void l4d1specific(void) {
// same thing as above, seemed easier to just dupe :)
chcmdflags("cl_fullupdate", CON_CHEAT, 0);
+
+ // These commands lack CLIENTCMD_CAN_EXECUTE, so enabling/disabling addons
+ // doesn't work without manually running these in the console afterwards.
+ chcmdflags("mission_reload", 0, CON_CCMDEXEC);
+ chcmdflags("update_addon_paths", 0, CON_CCMDEXEC);
}
void fixes_apply(void) {