From 5daca74843225518d0d5ca58f89626f3954b27a5 Mon Sep 17 00:00:00 2001 From: azutake Date: Thu, 18 Jan 2024 18:56:50 +0900 Subject: [PATCH] Fixed an issue where opening the pause menu just before death would prevent any action. --- client/dead.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/dead.lua b/client/dead.lua index 6759054a..672c8835 100644 --- a/client/dead.lua +++ b/client/dead.lua @@ -134,6 +134,9 @@ CreateThread(function() if isDead or InLaststand then sleep = 5 local ped = PlayerPedId() + if IsPauseMenuActive() then + SetFrontendActive(false) + end DisableAllControlActions(0) EnableControlAction(0, 1, true) EnableControlAction(0, 2, true)