This commit is contained in:
Xerasin 2021-02-24 17:21:08 -08:00
parent e34a71d72e
commit 1e8a7ce038
2 changed files with 4 additions and 4 deletions

View File

@ -179,12 +179,12 @@ function PMETA:ExitSit()
net.WriteInt(SitAnywhere.NET.SitRequestExit, 4)
net.SendToServer()
else
local seat, holder = ply:GetSitting()
local seat, holder = self:GetSitting()
SafeRemoveEntity(seat)
SafeRemoveEntity(holder)
if SitAnywhere.GroundSit and ply:GetNWBool("SitGroundSitting", false) then
ply:SetNWBool("SitGroundSitting", false)
if SitAnywhere.GroundSit and self:GetNWBool("SitGroundSitting", false) then
self:SetNWBool("SitGroundSitting", false)
end
end
end

View File

@ -3,7 +3,7 @@ import os
from pprint import pprint
from subprocess import check_output
gmodUtilDir = "D:\\Program Files (x86)\\Steam\\SteamApps\\common\\GarrysMod\\bin"
gmodUtilDir = "D:\\SteamLibrary\\steamapps\\common\\GarrysMod\\bin"
dir_path = os.path.dirname(os.path.realpath(__file__)) + "\\"
repository_path = pygit2.discover_repository(dir_path)