summaryrefslogtreecommitdiffhomepage
path: root/src/fixes.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-01-17 14:27:59 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2022-01-17 14:29:22 +0000
commitec365b49d7c352b0c1aad97496c915da1f0393a8 (patch)
tree453447338e50bd866ffec570476671c07b84ad35 /src/fixes.c
parentc0a87338a4d688517b78d26cb852c0a895a4f5b0 (diff)
Fix Left 4 Dead 2 Survivors crashing
Diffstat (limited to 'src/fixes.c')
-rw-r--r--src/fixes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fixes.c b/src/fixes.c
index 8fb65c2..f4ef3c2 100644
--- a/src/fixes.c
+++ b/src/fixes.c
@@ -81,7 +81,7 @@ void fixes_apply(void) {
// constrain it so we don't enable a configuration that isn't already
// possible on these earlier versions (who knows if that breaks
// something...).
- if (GAMETYPE_MATCHES(L4D2)) {
+ if (GAMETYPE_MATCHES(L4D2x)) {
struct con_var *v = con_findvar("mat_queue_mode");
if (v && (v->parent->base.flags & CON_ARCHIVE)) {
v->parent->base.flags = v->parent->base.flags