Merge pull request #3 from BClark09/patch-1
Fixed first display of worth being incorrect
This commit is contained in:
commit
397e915a30
1 changed files with 4 additions and 4 deletions
|
@ -1451,6 +1451,10 @@ function GM:PlayerReadyRound(pl)
|
||||||
|
|
||||||
local classid = pl:GetZombieClass()
|
local classid = pl:GetZombieClass()
|
||||||
pl:SetZombieClass(classid, true, pl)
|
pl:SetZombieClass(classid, true, pl)
|
||||||
|
|
||||||
|
if self.OverrideStartingWorth then
|
||||||
|
pl:SendLua("GAMEMODE.StartingWorth="..tostring(self.StartingWorth))
|
||||||
|
end
|
||||||
|
|
||||||
if pl:Team() == TEAM_UNDEAD then
|
if pl:Team() == TEAM_UNDEAD then
|
||||||
-- This is just so they get updated on what class they are and have their hulls set up right.
|
-- This is just so they get updated on what class they are and have their hulls set up right.
|
||||||
|
@ -1466,10 +1470,6 @@ function GM:PlayerReadyRound(pl)
|
||||||
gamemode.Call("DoHonorableMentions", pl)
|
gamemode.Call("DoHonorableMentions", pl)
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.OverrideStartingWorth then
|
|
||||||
pl:SendLua("GAMEMODE.StartingWorth="..tostring(self.StartingWorth))
|
|
||||||
end
|
|
||||||
|
|
||||||
if pl:GetInfo("zs_noredeem") == "1" then
|
if pl:GetInfo("zs_noredeem") == "1" then
|
||||||
pl.NoRedeeming = true
|
pl.NoRedeeming = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue