From 262948a02d277c698fd531f7496ece93512bfa07 Mon Sep 17 00:00:00 2001 From: Aspect <41125780+Aspect12@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:43:50 +0200 Subject: [PATCH] Allow global table vars to always be networked. --- gamemode/core/libs/sv_networking.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemode/core/libs/sv_networking.lua b/gamemode/core/libs/sv_networking.lua index 2770cbc9d..90653bd5c 100644 --- a/gamemode/core/libs/sv_networking.lua +++ b/gamemode/core/libs/sv_networking.lua @@ -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