Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lua/starfall/instance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ function SF.Instance:BuildEnvironment()
if safe_types[TypeID(object)] then
return object
end
-- Clientside holograms don't have a gmod metatype so check manually
if isentity(object) and object.IsSFHologram then
-- Holograms don't have a gmod metatable, check manually
if metatable and metatable.__index and object.IsSFHologram then
return self.Types.Hologram.Wrap(object)
end
end
Expand Down
Loading