We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b36f32b + 7461c93 commit 8d1d3e7Copy full SHA for 8d1d3e7
lua/pac3/core/client/parts/event.lua
@@ -2898,8 +2898,9 @@ PART.OldEvents = {
2898
tutorial = "activates when the local player has the steamID specified",
2899
arguments = {{find = "string"}, {include_owner = "boolean"}},
2900
callback = function(self, ent, find, include_owner)
2901
- if include_owner then
2902
- find = find .. ";" .. self:GetOwner():SteamID()
+ local owner = self:GetPlayerOwner()
+ if include_owner and owner:IsValid() then
2903
+ find = find .. ";" .. owner:SteamID()
2904
end
2905
2906
return self:StringOperator(pac.LocalPlayer:SteamID(), find)
0 commit comments