Lock selected will now reset to 0 when clients loads into the gmae. It may need to be changed to not be a convar

This commit is contained in:
penolakushari 2024-10-24 01:37:19 +03:00
parent 0aec46bbb0
commit 2b186a31a0

View File

@ -1,6 +1,10 @@
hook.Add("InitPostEntity", "rgmClientSetup", function()
if ConVarExists("ragdollmover_lockselected") then -- i should use some lua variable instead of console variable so it would reset properly
RunConsoleCommand("ragdollmover_lockselected", 0)
end
if ConVarExists("ragdollmover_rotatebutton") then
local BindRot = GetConVar("ragdollmover_rotatebutton"):GetInt()