Skip to content

Commit 262948a

Browse files
committed
Allow global table vars to always be networked.
1 parent fbbdc6a commit 262948a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gamemode/core/libs/sv_networking.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ end
3838

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

4343
ix.net.globals[key] = value
4444

0 commit comments

Comments
 (0)