mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
fix: resolve issue preventing players from sitting in seats
This commit is contained in:
@@ -1194,7 +1194,7 @@ function ENT:CreateSeatEntity(seat_info)
|
||||
self:DrawShadow(false)
|
||||
|
||||
--Assign ownership
|
||||
if IsValid(self:GetPlayer()) then seat:SetOwner(self:GetPlayer()) end
|
||||
if IsValid(self:GetPlayer()) then seat:SetCreator(self:GetPlayer()) end
|
||||
if CPPI and IsValid(self:CPPIGetOwner()) then seat:CPPISetOwner(self:CPPIGetOwner()) end
|
||||
|
||||
-- Hide the entity visually
|
||||
|
||||
Reference in New Issue
Block a user