From c6947399efa3142f874aa907e088ee8fc1bed2aa Mon Sep 17 00:00:00 2001 From: mittorn Date: Sat, 23 Feb 2019 19:19:29 +0000 Subject: [PATCH] Fix crash in non-coop mode --- dlls/coop.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/coop.cpp b/dlls/coop.cpp index a68adf3b..b3f57997 100644 --- a/dlls/coop.cpp +++ b/dlls/coop.cpp @@ -866,6 +866,10 @@ Show checkpoints menu for dead player bool COOP_PlayerDeath( CBasePlayer *pPlayer ) { static bool st_fSkipNext; + + if( !mp_coop.value ) + return false; + if( st_fSkipNext ) { st_fSkipNext = false;