Fix redeem brain convar not syncing.

The convar is replicated so this shouldn't be needed, but whatever.
This commit is contained in:
JetBoom 2014-11-24 10:53:21 -05:00
parent 9100fd7295
commit 64bd994e0f

View file

@ -351,6 +351,7 @@ function GM:Initialize()
self:SetPantsMode(self.PantsMode, true) self:SetPantsMode(self.PantsMode, true)
self:SetClassicMode(self:IsClassicMode(), true) self:SetClassicMode(self:IsClassicMode(), true)
self:SetBabyMode(self:IsBabyMode(), true) self:SetBabyMode(self:IsBabyMode(), true)
self:SetRedeemBrains(self.DefaultRedeem)
local mapname = string.lower(game.GetMap()) local mapname = string.lower(game.GetMap())
if string.find(mapname, "_obj_", 1, true) or string.find(mapname, "objective", 1, true) then if string.find(mapname, "_obj_", 1, true) or string.find(mapname, "objective", 1, true) then