Fix missing convar check

This commit is contained in:
Brandon Sturgeon 2021-01-01 12:29:52 -08:00
parent 2dade3bbd0
commit 05c79183f6
No known key found for this signature in database
GPG Key ID: 93451558FC64495C

View File

@ -88,7 +88,8 @@ if CLIENT then
net.Start( networkString )
for _, convar in pairs( CONVARS_TO_CHECK ) do
net.WriteBool( GetConVar( convar ):GetBool() )
local cvar = GetConVar( convar )
net.WriteBool( cvar and cvar:GetBool() or false )
end
net.SendToServer()