Garry's Mod

Garry's Mod

Better Keep Corpses Mod
rlx  [developer] 7 Aug, 2021 @ 9:27am
small bug
I get an issue with the "loot system", where it tries to do something with the Null entity after cleaning the map. Luckily it's a really easy fix.
I changed the line 10 in better_keep_corpse.lua in the server folder to
if ply:IsValid() and ply:IsPlayer() and ply:GetEyeTrace().Entity:IsValid() then
The error seems to not appear now.