Fix redeem brain convar not syncing.
The convar is replicated so this shouldn't be needed, but whatever.
This commit is contained in:
parent
9100fd7295
commit
64bd994e0f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue