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()
|
||||
pl:SetZombieClass(classid, true, pl)
|
||||
|
||||
if self.OverrideStartingWorth then
|
||||
pl:SendLua("GAMEMODE.StartingWorth="..tostring(self.StartingWorth))
|
||||
end
|
||||
|
||||
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.
|
||||
|
@ -1466,10 +1470,6 @@ function GM:PlayerReadyRound(pl)
|
|||
gamemode.Call("DoHonorableMentions", pl)
|
||||
end
|
||||
|
||||
if self.OverrideStartingWorth then
|
||||
pl:SendLua("GAMEMODE.StartingWorth="..tostring(self.StartingWorth))
|
||||
end
|
||||
|
||||
if pl:GetInfo("zs_noredeem") == "1" then
|
||||
pl.NoRedeeming = true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue