Skip to content

Commit

Permalink
Allow global table vars to always be networked.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspect12 committed Nov 21, 2024
1 parent fbbdc6a commit 262948a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamemode/core/libs/sv_networking.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ end

function SetNetVar(key, value, receiver) -- luacheck: globals SetNetVar
if (CheckBadType(key, value)) then return end
if (GetNetVar(key) == value) then return end
if (GetNetVar(key) == value and !istable(value)) then return end

ix.net.globals[key] = value

Expand Down

0 comments on commit 262948a

Please sign in to comment.