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