From 4ed58b4daf72cf701e2d896f20cfb4f0ea101f87 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 19 Nov 2023 14:43:24 -0800 Subject: [PATCH] fix(server/main): revive command --- server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.lua b/server/main.lua index 212e1ce..fc87c4b 100644 --- a/server/main.lua +++ b/server/main.lua @@ -26,7 +26,7 @@ local function revivePlayer(player) end player.Functions.SetMetaData("isdead", false) player.Functions.SetMetaData("inlaststand", false) - playerWeaponWounds[source] = nil + playerWeaponWounds[player.PlayerData.source] = nil TriggerClientEvent('qbx_medical:client:playerRevived', player.PlayerData.source) end