From 3fc1069082fa3cc60e2b1929e0a25571007e1ad9 Mon Sep 17 00:00:00 2001
From: Zachary McAlpin <choalover@gmail.com>
Date: Tue, 17 Dec 2019 19:20:46 -0600
Subject: [PATCH] Don't run the LUAh_PlayerThink function if the time ran out
 in Race or Competition

---
 src/p_user.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/p_user.c b/src/p_user.c
index 6682c128b2..0ec02c3f4f 100644
--- a/src/p_user.c
+++ b/src/p_user.c
@@ -11414,12 +11414,7 @@ void P_PlayerThink(player_t *player)
 			player->lives = 0;
 
 			if (player->playerstate == PST_DEAD)
-			{
-#ifdef HAVE_BLUA
-				LUAh_PlayerThink(player);
-#endif
 				return;
-			}
 		}
 	}
 
-- 
GitLab