Replaced GetAngles() with EyeAngles()

This commit is contained in:
Ben 2014-10-30 13:39:01 +00:00
parent e42753beae
commit f2bb74219a
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ function ENT:StartTouch(ent)
self:Input("onbosstouched",ent,self,string.lower(ent:GetZombieClassTable().Name))
else
local prevpos = ent:GetPos()
local prevang = ent:GetAngles()
local prevang = ent:EyeAngles()
GAMEMODE:SpawnBossZombie(ent, self.Silent)
if self.InstantChange then
ent:SetPos(prevpos)

View file

@ -52,7 +52,7 @@ function ENT:Touch(ent)
if string.lower(v.Name) == self.TouchClass then
local prev = ent:GetZombieClass()
local prevpos = ent:GetPos()
local prevang = ent:GetAngles()
local prevang = ent:EyeAngles()
ent:SetZombieClass(k)
ent:UnSpectateAndSpawn()
if self.OneTime then